Skip to content

Commit 5e9c69c

Browse files
committed
Build: update to GitHub Actions v5 to fix warnings
* 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 8826972 commit 5e9c69c

2 files changed

Lines changed: 4 additions & 10919 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Clone repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
with:
2929
persist-credentials: false
3030

3131
- name: Set up Node.js
32-
uses: actions/setup-node@v4
32+
uses: actions/setup-node@v5
3333
with:
3434
node-version: ${{ matrix.node }}
35-
cache: npm
3635

37-
- name: Install npm dependencies
38-
run: npm ci
36+
- run: npm install
3937

40-
- name: Run tests
41-
run: npm test
38+
- run: npm test
4239

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

0 commit comments

Comments
 (0)