File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 24
24
steps :
25
25
- uses : actions/checkout@v2 # checkout repo content
26
26
27
+ - uses : actions/setup-node@v4 # setup Node.js
28
+ with :
29
+ node-version : ' 20.x'
30
+
27
31
- name : Install dependencies
28
- run : npm i
32
+ run : npm ci
29
33
30
34
- name : convert YAML examples to JSON
31
35
run : find examples/v3* -type f -name "*.yaml" | xargs node scripts/yaml2json/yaml2json.js
Original file line number Diff line number Diff line change 25
25
with :
26
26
fetch-depth : 0
27
27
28
+ - uses : actions/setup-node@v4 # setup Node.js
29
+ with :
30
+ node-version : ' 20.x'
31
+
28
32
- name : Install dependencies
29
- run : npm i
33
+ run : npm ci
30
34
31
35
- uses : actions/checkout@v2 # checkout gh-pages branch
32
36
with :
Original file line number Diff line number Diff line change 29
29
- name : Install dependencies from main
30
30
run : |
31
31
git checkout remotes/origin/main -- package.json
32
- npm i
32
+ npm ci
33
33
- name : Run tests
34
34
run : npm run test
35
35
You can’t perform that action at this time.
0 commit comments