File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 6
6
required : true
7
7
node-version :
8
8
description : " Node Version"
9
- default : 16
9
+ default : 18
10
10
required : false
11
11
github-token :
12
12
description : " Github token to use when checking out the repo"
@@ -18,18 +18,20 @@ inputs:
18
18
runs :
19
19
using : " composite"
20
20
steps :
21
- - uses : actions/checkout@v3
21
+ - uses : actions/checkout@v4
22
22
with :
23
23
token : ${{ inputs.github-token }}
24
24
fetch-depth : ${{ inputs.fetch-depth }}
25
25
- uses : actions/setup-node@v3
26
26
with :
27
27
cache : " yarn"
28
28
node-version : " ${{ inputs.node-version }}"
29
- - uses : actions/cache@v3
29
+ - uses : actions/cache@v4
30
30
id : yarn-cache
31
31
with :
32
- path : " **/node_modules"
32
+ path : |
33
+ **/node_modules
34
+ !**/node_modules/.cache
33
35
key : ${{ runner.os }}-yarn-node-${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
34
36
- name : Install Dependencies If Not Cached
35
37
run : \[ -d node_modules \] || yarn install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments