Skip to content

Commit 03d00a4

Browse files
committed
ci(github-actions): bump actions and node versions
1 parent 7356cdd commit 03d00a4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/ci.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Use Node.js 16.x
13-
uses: actions/setup-node@v2
11+
- uses: actions/checkout@v4
12+
- name: Use Node.js 22.x
13+
uses: actions/setup-node@v4
1414
with:
15-
node-version: 16.x
15+
node-version: 22.x
1616

17-
- uses: actions/cache@v2
17+
- uses: actions/cache@v4
1818
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
1919
with:
2020
path: '**/node_modules'
@@ -38,16 +38,16 @@ jobs:
3838

3939
strategy:
4040
matrix:
41-
node-version: [12.x, 14.x, 16.x]
41+
node-version: [18.x, 20.x, 22.x]
4242

4343
steps:
44-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v4
4545
- name: Use Node.js ${{ matrix.node-version }}
46-
uses: actions/setup-node@v2
46+
uses: actions/setup-node@v4
4747
with:
4848
node-version: ${{ matrix.node-version }}
4949

50-
- uses: actions/cache@v2
50+
- uses: actions/cache@v4
5151
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
5252
with:
5353
path: '**/node_modules'
@@ -70,13 +70,13 @@ jobs:
7070
runs-on: ubuntu-latest
7171

7272
steps:
73-
- uses: actions/checkout@v2
74-
- name: Use Node.js 16.x
75-
uses: actions/setup-node@v2
73+
- uses: actions/checkout@v4
74+
- name: Use Node.js 22.x
75+
uses: actions/setup-node@v4
7676
with:
77-
node-version: 16.x
77+
node-version: 22.x
7878

79-
- uses: actions/cache@v2
79+
- uses: actions/cache@v4
8080
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
8181
with:
8282
path: '**/node_modules'
@@ -100,7 +100,7 @@ jobs:
100100
name: Spellcheck
101101
runs-on: ubuntu-latest
102102
steps:
103-
- uses: actions/checkout@v2
103+
- uses: actions/checkout@v4
104104
- uses: streetsidesoftware/cspell-action@main
105105
with:
106106
# Github token used to fetch the list of changed files in the commit.

0 commit comments

Comments
 (0)