Skip to content

Commit 83ba5ad

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. Ref https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent bb9c280 commit 83ba5ad

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,23 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
node: [10, 12, 14]
14+
node: [10, 12, 14, 20]
1515
os: [ubuntu-latest, windows-latest]
1616

1717
steps:
1818
- name: Clone repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v5
2020

2121
- name: Set Node.js version
22-
uses: actions/setup-node@v1
22+
uses: actions/setup-node@v5
2323
with:
2424
node-version: ${{ matrix.node }}
2525

26-
- run: node --version
2726
- run: npm --version
2827

29-
- name: Install npm dependencies
30-
run: npm i
28+
- run: npm install
3129

32-
- name: Run tests
33-
run: npm test
30+
- run: npm test
3431

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

0 commit comments

Comments
 (0)