File tree 1 file changed +21
-24
lines changed
1 file changed +21
-24
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,15 @@ jobs:
13
13
lint :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v4
17
17
18
- - name : Install pnpm
19
-
20
-
21
- - name : Set node
22
- uses : actions/setup-node@v2
18
+ - name : Set node LTS
19
+ uses : actions/setup-node@v4
23
20
with :
24
- node-version : 16.x
25
- cache : pnpm
21
+ node-version : lts/*
22
+
23
+ - name : Install pnpm
24
+ uses : pnpm/action-setup@v4
26
25
27
26
- name : Setup
28
27
run : npm i -g @antfu/ni
@@ -36,16 +35,15 @@ jobs:
36
35
typecheck :
37
36
runs-on : ubuntu-latest
38
37
steps :
39
- - uses : actions/checkout@v2
40
-
41
- - name : Install pnpm
42
-
38
+ - uses : actions/checkout@v4
43
39
44
- - name : Set node
45
- uses : actions/setup-node@v2
40
+ - name : Set node LTS
41
+ uses : actions/setup-node@v4
46
42
with :
47
- node-version : 16.x
48
- cache : pnpm
43
+ node-version : lts/*
44
+
45
+ - name : Install pnpm
46
+ uses : pnpm/action-setup@v4
49
47
50
48
- name : Setup
51
49
run : npm i -g @antfu/ni
@@ -66,16 +64,15 @@ jobs:
66
64
fail-fast : false
67
65
68
66
steps :
69
- - uses : actions/checkout@v2
70
-
71
- - name : Install pnpm
72
-
67
+ - uses : actions/checkout@v4
73
68
74
- - name : Set node version to ${{ matrix.node }}
75
- uses : actions/setup-node@v2
69
+ - name : Set node LTS
70
+ uses : actions/setup-node@v4
76
71
with :
77
- node-version : ${{ matrix.node }}
78
- cache : pnpm
72
+ node-version : lts/*
73
+
74
+ - name : Install pnpm
75
+ uses : pnpm/action-setup@v4
79
76
80
77
- name : Setup
81
78
run : npm i -g @antfu/ni
You can’t perform that action at this time.
0 commit comments