Skip to content

Commit fc3347d

Browse files
committed
Modernize GitHub CI
1 parent b4094a7 commit fc3347d

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ jobs:
55
lint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- uses: actions/cache@v2
8+
- uses: actions/checkout@v6
9+
- uses: actions/cache@v5
1010
with:
1111
path: '**/node_modules'
1212
key: ${{ runner.os }}-lint-modules-${{ hashFiles('**/yarn.lock') }}
@@ -24,17 +24,18 @@ jobs:
2424
node-version:
2525
- 18.x
2626
- 20.x
27-
- 21.x
27+
- 22.x
28+
- 24.x
2829
steps:
2930
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v2
31+
uses: actions/setup-node@v6
3132
with:
3233
node-version: ${{ matrix.node-version }}
3334
- name: Ensure line endings are consistent
3435
run: git config --global core.autocrlf input
3536
- name: Check out repository
36-
uses: actions/checkout@v2
37-
- uses: actions/cache@v2
37+
uses: actions/checkout@v6
38+
- uses: actions/cache@v5
3839
with:
3940
path: '**/node_modules'
4041
key: ${{ runner.os }}-test-modules-${{ hashFiles('**/yarn.lock') }}
@@ -47,7 +48,7 @@ jobs:
4748
- name: Run webpack
4849
run: yarn run test:webpack
4950
- name: Submit coverage results
50-
uses: coverallsapp/github-action@master
51+
uses: coverallsapp/github-action@v2
5152
with:
5253
github-token: ${{ secrets.github_token }}
5354
flag-name: run-${{ matrix.node-version }}
@@ -58,7 +59,7 @@ jobs:
5859
runs-on: ubuntu-latest
5960
steps:
6061
- name: Consolidate test coverage from different jobs
61-
uses: coverallsapp/github-action@master
62+
uses: coverallsapp/github-action@v2
6263
with:
6364
github-token: ${{ secrets.github_token }}
6465
parallel-finished: true

0 commit comments

Comments
 (0)