mirror of
https://github.com/chirimen-oh/node-web-i2c.git
synced 2025-01-18 08:05:10 +00:00
chore: update publish action
This commit is contained in:
parent
e424cac266
commit
a78917a3fb
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -19,9 +19,9 @@ jobs:
|
|||
run: |
|
||||
git config --global user.email bot@example
|
||||
git config --global user.name bot
|
||||
- run: npm version patch
|
||||
- name: Publish.
|
||||
run: |
|
||||
npm version patch
|
||||
git push --atomic --tags origin HEAD
|
||||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
||||
npm publish
|
||||
- run: git push origin --tags
|
||||
|
|
Loading…
Add table
Reference in a new issue