Skip to content

Commit d4b78fa

Browse files
authored
Merge pull request #297 from pkgxdev/fix-node25
fix node25
2 parents 4fa4945 + 86f5d5b commit d4b78fa

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/ci.action.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,21 @@ jobs:
4040
- null
4141
- /tmp/pkgx
4242
include:
43-
- os: ubuntu-latest
44-
container: debian:buster-slim
45-
- os: windows-latest
43+
- os: ubuntu-latest
44+
container: debian:buster-slim
45+
- os: windows-latest
4646
container: ${{ matrix.container }}
4747
steps:
4848
- uses: actions/checkout@v6
4949

50+
- name: install libatomic (required by Node 25+ on older distros)
51+
if: ${{ matrix.container == 'debian:buster-slim' }}
52+
run: |
53+
# Debian buster is EOL, so we need to change mirrors
54+
sed -i 's/deb\.debian/archive\.debian/g' /etc/apt/sources.list
55+
apt-get update -qq
56+
apt-get install -y libatomic1
57+
5058
- uses: actions/setup-node@v6
5159
with:
5260
node-version: latest
@@ -90,7 +98,7 @@ jobs:
9098
- uses: ./
9199
- run: npm run dist
92100
- run: rm /usr/local/bin/pkgx
93-
- run: '! pkgx --version'
101+
- run: "! pkgx --version"
94102
- run: git clean -xfd
95103
- uses: ./
96104
- run: pkgx --version

0 commit comments

Comments
 (0)