Skip to content

Commit

Permalink
chore(workflows/publish-docs): update config
Browse files Browse the repository at this point in the history
  • Loading branch information
JackLian committed Dec 14, 2023
1 parent 613142b commit 729083a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
ref: 'develop'
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: cd docs && npm install
- run: |
Expand All @@ -27,7 +28,7 @@ jobs:
git add package.json
git commit -m "chore(docs): publish documentation"
git push
- run: cd docs && npm build && npm publish
- run: cd docs && npm run build && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Get version
Expand Down

0 comments on commit 729083a

Please sign in to comment.