mirror of
https://github.com/chirimen-oh/node-web-gpio.git
synced 2025-01-18 16:08:00 +00:00
fix npm publish
This commit is contained in:
parent
567a9d9069
commit
4729ba71da
1 changed files with 4 additions and 3 deletions
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
|
@ -20,7 +20,8 @@ jobs:
|
||||||
git config --global user.email bot@example
|
git config --global user.email bot@example
|
||||||
git config --global user.name bot
|
git config --global user.name bot
|
||||||
- run: npm version patch
|
- run: npm version patch
|
||||||
- run: npm publish
|
- name: Publish.
|
||||||
env:
|
run: |
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
||||||
|
npm publish
|
||||||
- run: git push origin --tags
|
- run: git push origin --tags
|
||||||
|
|
Loading…
Add table
Reference in a new issue