File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- name : " test "
1
+ name : CI
2
2
3
3
on :
4
4
push :
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
16
16
- name : Dump GitHub context
17
17
env :
@@ -22,10 +22,14 @@ jobs:
22
22
run : echo "::set-output name=NVMRC::$(cat .nvmrc)"
23
23
id : nvm
24
24
25
- - name : Setup Node
26
- uses : actions/setup-node@v2
25
+ - name : Setup Node.js
26
+ uses : actions/setup-node@v3
27
27
with :
28
28
node-version : " ${{ steps.nvm.outputs.NVMRC }}"
29
+ cache : " npm"
30
+
31
+ - name : Update npm
32
+ run : npm install -g npm@latest
29
33
30
34
- name : Dump version
31
35
run : |
43
47
action-with-all-inputs :
44
48
runs-on : ubuntu-latest
45
49
steps :
46
- - uses : actions/checkout@v2
50
+ - uses : actions/checkout@v3
47
51
48
52
- name : Test action
49
53
uses : ./
57
61
action-with-minimum-inputs :
58
62
runs-on : ubuntu-latest
59
63
steps :
60
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v3
61
65
62
66
- name : Test action
63
67
uses : ./
You can’t perform that action at this time.
0 commit comments