Skip to content

Commit 6e2468a

Browse files
committed
Update GitHub Actions versions
1 parent 6dbb8fc commit 6e2468a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ jobs:
55
lint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- uses: actions/cache@v2
8+
- uses: actions/checkout@v5
9+
- uses: actions/cache@v4
1010
with:
1111
path: '**/node_modules'
1212
key: ${{ runner.os }}-lint-modules-${{ hashFiles('**/yarn.lock') }}
13-
- uses: actions/setup-node@v2
13+
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 14.x
1616
- run: yarn install
@@ -27,16 +27,17 @@ jobs:
2727
- 18.x
2828
- 20.x
2929
- 22.x
30+
- 24.x
3031
steps:
3132
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v2
33+
uses: actions/setup-node@v4
3334
with:
3435
node-version: ${{ matrix.node-version }}
3536
- name: Ensure line endings are consistent
3637
run: git config --global core.autocrlf input
3738
- name: Check out repository
38-
uses: actions/checkout@v2
39-
- uses: actions/cache@v2
39+
uses: actions/checkout@v5
40+
- uses: actions/cache@v4
4041
with:
4142
path: '**/node_modules'
4243
key: ${{ runner.os }}-test-modules-${{ hashFiles('**/yarn.lock') }}
@@ -47,7 +48,7 @@ jobs:
4748
- name: Run tests
4849
run: yarn run test
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)