File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11
11
- " offlinedocs/**"
12
12
workflow_dispatch :
13
13
14
+ env :
15
+ NODE_VERSION : 16.20.1
16
+
14
17
# Cancel in-progress runs for pull requests when developers push
15
18
# additional changes
16
19
concurrency :
25
28
- name : Checkout
26
29
uses : actions/checkout@v3
27
30
31
+ - name : Setup Node
32
+ uses : buildjet/setup-node@v3
33
+ with :
34
+ node-version : env.NODE_VERSION
35
+ cache : " yarn"
36
+ cache-dependency-path : " offlinedocs/yarn.lock"
37
+
28
38
- name : Install Pretier
29
39
run : |
30
40
cd offlinedocs
48
58
- name : Setup Node
49
59
uses : buildjet/setup-node@v3
50
60
with :
51
- node-version : 16.20.1
61
+ node-version : env.NODE_VERSION
52
62
cache : " yarn"
53
63
cache-dependency-path : " offlinedocs/yarn.lock"
54
64
67
77
- name : Setup Node
68
78
uses : buildjet/setup-node@v3
69
79
with :
70
- node-version : 16.20.1
80
+ node-version : env.NODE_VERSION
71
81
cache : " yarn"
72
82
cache-dependency-path : " offlinedocs/yarn.lock"
73
83
You can’t perform that action at this time.
0 commit comments