File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ jobs:
10
10
steps :
11
11
# Check out the content (source branch)
12
12
- name : Check out source
13
- uses : actions/checkout@v2
13
+ uses : actions/checkout@v3
14
14
15
15
# Check out the `dist` branch into the `public` directory.
16
16
- name : Check out documentation branch
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
with :
19
19
ref : ' dist'
20
20
path : ' public'
21
21
22
22
- name : Use Node.js
23
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v3
24
24
with :
25
25
node-version : 16.x
26
26
27
27
# Build the site
28
28
- name : Install npm packages
29
- run : npm install
29
+ run : npm ci
30
30
- name : Build documentation
31
31
run : npm run build
32
32
env :
Original file line number Diff line number Diff line change @@ -14,20 +14,20 @@ jobs:
14
14
# workflow run that runs on: push. (Using the GitHub token would
15
15
# not run the workflow to prevent infinite recursion.)
16
16
- name : Check out source
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
with :
19
19
ssh-key : ${{ secrets.CLI_DEPLOY_KEY }}
20
20
21
21
# Make sure that the new content didn't break the build. We don't
22
22
# want to promote anything that would breaks.
23
23
- name : Use Node.js
24
- uses : actions/setup-node@v1
24
+ uses : actions/setup-node@v3
25
25
with :
26
26
node-version : 16.x
27
27
28
28
# Add the CLI documentation to the content directory.
29
29
- name : Install npm packages
30
- run : npm install
30
+ run : npm ci
31
31
- name : Fetch latest documentation
32
32
run : node cli/cli_fetch.js
33
33
- name : Clean up old documentation
You can’t perform that action at this time.
0 commit comments