fix: use gzipped node tarball to avoid xz-utils dependency
This commit is contained in:
parent
5fbb7f9378
commit
8bbaa456d3
|
|
@ -16,8 +16,8 @@ jobs:
|
||||||
set -e
|
set -e
|
||||||
# Install PyYAML via apt (avoiding PEP 668)
|
# Install PyYAML via apt (avoiding PEP 668)
|
||||||
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
||||||
# Install Node 18 via binary
|
# Install Node 18 via binary (using gzipped tarball to avoid xz dependency)
|
||||||
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.gz | tar -xz -C /usr/local --strip-components=1
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
@ -39,8 +39,8 @@ jobs:
|
||||||
set -e
|
set -e
|
||||||
# Install PyYAML via apt (avoiding PEP 668)
|
# Install PyYAML via apt (avoiding PEP 668)
|
||||||
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
apt-get update && apt-get install -y --no-install-recommends python3-yaml
|
||||||
# Install Node 18 via binary
|
# Install Node 18 via binary (using gzipped tarball to avoid xz dependency)
|
||||||
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.xz | tar -xJ -C /usr/local --strip-components=1
|
curl -fsSL https://nodejs.org/dist/v18.19.0/node-v18.19.0-linux-x64.tar.gz | tar -xz -C /usr/local --strip-components=1
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue