5
5
lint :
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v3
9
- - uses : actions/cache@v3
8
+ - uses : actions/checkout@v5
9
+ - uses : actions/cache@v4
10
10
with :
11
11
path : ' **/node_modules'
12
12
key : ${{ runner.os }}-lint-modules-${{ hashFiles('**/yarn.lock') }}
13
- - uses : actions/setup-node@v3
13
+ - uses : actions/setup-node@v4
14
14
with :
15
15
node-version : 18.x
16
16
- run : yarn install
@@ -25,16 +25,17 @@ jobs:
25
25
- 18.x
26
26
- 20.x
27
27
- 22.x
28
+ - 24.x
28
29
steps :
29
30
- name : Use Node.js ${{ matrix.node-version }}
30
- uses : actions/setup-node@v3
31
+ uses : actions/setup-node@v4
31
32
with :
32
33
node-version : ${{ matrix.node-version }}
33
34
- name : Ensure line endings are consistent
34
35
run : git config --global core.autocrlf input
35
36
- name : Check out repository
36
- uses : actions/checkout@v3
37
- - uses : actions/cache@v3
37
+ uses : actions/checkout@v5
38
+ - uses : actions/cache@v4
38
39
with :
39
40
path : ' **/node_modules'
40
41
key : ${{ runner.os }}-test-modules-${{ hashFiles('**/yarn.lock') }}
45
46
- name : Run tests
46
47
run : yarn run test
47
48
- name : Submit coverage results
48
- uses : coverallsapp/github-action@master
49
+ uses : coverallsapp/github-action@v2
49
50
with :
50
51
github-token : ${{ secrets.github_token }}
51
52
flag-name : run-${{ matrix.node-version }}
@@ -56,20 +57,20 @@ jobs:
56
57
runs-on : ubuntu-latest
57
58
steps :
58
59
- name : Consolidate test coverage from different jobs
59
- uses : coverallsapp/github-action@master
60
+ uses : coverallsapp/github-action@v2
60
61
with :
61
62
github-token : ${{ secrets.github_token }}
62
63
parallel-finished : true
63
64
64
65
webpack :
65
66
runs-on : ubuntu-latest
66
67
steps :
67
- - uses : actions/checkout@v3
68
- - uses : actions/cache@v3
68
+ - uses : actions/checkout@v5
69
+ - uses : actions/cache@v4
69
70
with :
70
71
path : ' **/node_modules'
71
72
key : ${{ runner.os }}-webpack-modules-${{ hashFiles('**/yarn.lock') }}
72
- - uses : actions/setup-node@v3
73
+ - uses : actions/setup-node@v4
73
74
with :
74
75
node-version : 18.x
75
76
- run : yarn install
0 commit comments