Skip to content

Commit 0ff374b

Browse files
committed
Build: update to GitHub Actions v5 to fix warnings, add Node.js 20
* Fix GitHub Actions noise about "Node.js 20 actions are deprecated." which is a pointless and confusing treadmill about internal primitives like "checkout" and "setup-node" which are not simple shell scripts but instead full containers that themselves utilize Node.js internally. No user should have to care about this, and the warnings ideally either would not exist, have a stable subset, or at the very least refer to the action/v4 being deprecated instead of confusing details about what those are internally made of. * Remove lock file Ref https://timotijhof.net/posts/2024/lockfiles-for-apps-not-packages-still/ Ref https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent 03900b4 commit 0ff374b

3 files changed

Lines changed: 7 additions & 5569 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,21 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node: [10, 12, 14]
16+
node: [10, 12, 14, 20]
1717
os: [ubuntu-latest, windows-latest]
1818

1919
steps:
2020
- name: Clone repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v5
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v5
2525
with:
2626
node-version: ${{ matrix.node }}
2727

28-
- name: Install npm dependencies
29-
run: npm ci
28+
- run: npm install
3029

31-
- name: Run tests
32-
run: npm test
30+
- run: npm test
3331

3432
# We test multiple Windows shells because of prior stdout buffering issues
3533
# filed against Grunt. https://github.com/joyent/node/issues/3584

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
/node_modules
2+
/package-lock.json

0 commit comments

Comments
 (0)