Skip to content

Commit 8c1979a

Browse files
committed
CI: fix GLIBC compatibility and npm cache issues
- Use ubuntu-20.04 for legacy Node versions (9, 10) to avoid GLIBC_2.27+ requirements - Remove npm cache from setup-node since no package-lock.json exists
1 parent 4cca275 commit 8c1979a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
node: ["9", "10"]
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-20.04
1717
container:
1818
image: node:${{ matrix.node }}
1919
steps:
@@ -46,7 +46,6 @@ jobs:
4646
uses: actions/setup-node@v4
4747
with:
4848
node-version: ${{ matrix.node }}
49-
cache: npm
5049

5150
- name: Print Node & npm versions
5251
run: |

0 commit comments

Comments
 (0)