Skip to content

Commit 729083a

Browse files
committed
chore(workflows/publish-docs): update config
1 parent 613142b commit 729083a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish docs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: '14'
19+
ref: 'develop'
20+
node-version: '16'
2021
registry-url: 'https://registry.npmjs.org'
2122
- run: cd docs && npm install
2223
- run: |
@@ -27,7 +28,7 @@ jobs:
2728
git add package.json
2829
git commit -m "chore(docs): publish documentation"
2930
git push
30-
- run: cd docs && npm build && npm publish
31+
- run: cd docs && npm run build && npm publish
3132
env:
3233
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3334
- name: Get version

0 commit comments

Comments
 (0)