Skip to content

Commit 4594721

Browse files
committed
ci: upgrade node versions and actions versions
1 parent 2020613 commit 4594721

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Tests
66
on:
77
push:
88
branches:
9-
- master # allthough master is push protected we still keep it
9+
- master # although master is push protected we still keep it
1010
- development
1111
pull_request: # runs on all PR
1212

@@ -16,18 +16,19 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
node: [16, 18, 20]
19+
# we support all LTS that are still maintained
20+
node: [20, 22, 24]
2021
steps:
2122
- name: Checkout ${{ matrix.node }}
22-
uses: actions/checkout@v3
23+
uses: actions/checkout@v6
2324

2425
- name: Setup node ${{ matrix.node }}
25-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v6
2627
with:
2728
node-version: ${{ matrix.node }}
2829

2930
- name: Cache dependencies ${{ matrix.node }}
30-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3132
with:
3233
path: ~/.npm
3334
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)