Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ce92ff

Browse files
authored
tools: update actions (npm#117)
1 parent f3b8e16 commit 9ce92ff

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ jobs:
1010
steps:
1111
# Check out the content (source branch)
1212
- name: Check out source
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414

1515
# Check out the `dist` branch into the `public` directory.
1616
- name: Check out documentation branch
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
ref: 'dist'
2020
path: 'public'
2121

2222
- name: Use Node.js
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: 16.x
2626

2727
# Build the site
2828
- name: Install npm packages
29-
run: npm install
29+
run: npm ci
3030
- name: Build documentation
3131
run: npm run build
3232
env:

.github/workflows/update-cli.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
# workflow run that runs on: push. (Using the GitHub token would
1515
# not run the workflow to prevent infinite recursion.)
1616
- name: Check out source
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
ssh-key: ${{ secrets.CLI_DEPLOY_KEY }}
2020

2121
# Make sure that the new content didn't break the build. We don't
2222
# want to promote anything that would breaks.
2323
- name: Use Node.js
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v3
2525
with:
2626
node-version: 16.x
2727

2828
# Add the CLI documentation to the content directory.
2929
- name: Install npm packages
30-
run: npm install
30+
run: npm ci
3131
- name: Fetch latest documentation
3232
run: node cli/cli_fetch.js
3333
- name: Clean up old documentation

0 commit comments

Comments
 (0)