File tree 2 files changed +28
-3
lines changed
2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,33 @@ jobs:
10
10
lint :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v1
13
+ - uses : actions/checkout@v4
14
+ - name : Enable corepack
15
+ run : corepack enable
16
+ - uses : actions/setup-node@v4
17
+ env :
18
+ yarn : 4.5.3
19
+ with :
20
+ node-version : 22
21
+ cache : ' yarn'
14
22
- name : Install dependencies
15
23
run : yarn install
16
24
- name : Run lint
17
25
run : yarn run lint
18
26
19
27
test :
20
28
runs-on : ubuntu-latest
29
+ needs : lint
21
30
steps :
22
- - uses : actions/checkout@v1
31
+ - uses : actions/checkout@v4
32
+ - name : Enable corepack
33
+ run : corepack enable
34
+ - uses : actions/setup-node@v4
35
+ env :
36
+ yarn : 4.5.3
37
+ with :
38
+ node-version : 22
39
+ cache : ' yarn'
23
40
- name : Install dependencies
24
41
run : yarn install
25
42
- name : Run tests
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
12
12
steps :
13
- - uses : actions/checkout@v1
13
+ - uses : actions/checkout@v4
14
+ - name : Enable corepack
15
+ run : corepack enable
16
+ - uses : actions/setup-node@v4
17
+ env :
18
+ yarn : 4.5.3
19
+ with :
20
+ node-version : 22
21
+ cache : ' yarn'
14
22
- name : Install dependencies
15
23
run : yarn install
16
24
- name : Build
You can’t perform that action at this time.
0 commit comments