Skip to content

Commit 668b648

Browse files
committed
Update GitHub Actions versions
1 parent 08e589d commit 668b648

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: 18.x
1616
- run: yarn install
@@ -25,16 +25,17 @@ jobs:
2525
- 18.x
2626
- 20.x
2727
- 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@v4
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@v5
38+
- uses: actions/cache@v4
3839
with:
3940
path: '**/node_modules'
4041
key: ${{ runner.os }}-test-modules-${{ hashFiles('**/yarn.lock') }}
@@ -45,7 +46,7 @@ jobs:
4546
- name: Run tests
4647
run: yarn run test
4748
- name: Submit coverage results
48-
uses: coverallsapp/github-action@master
49+
uses: coverallsapp/github-action@v2
4950
with:
5051
github-token: ${{ secrets.github_token }}
5152
flag-name: run-${{ matrix.node-version }}
@@ -56,7 +57,7 @@ jobs:
5657
runs-on: ubuntu-latest
5758
steps:
5859
- name: Consolidate test coverage from different jobs
59-
uses: coverallsapp/github-action@master
60+
uses: coverallsapp/github-action@v2
6061
with:
6162
github-token: ${{ secrets.github_token }}
6263
parallel-finished: true

0 commit comments

Comments
 (0)