mirror of
https://github.com/chirimen-oh/node-web-i2c.git
synced 2025-01-18 16:08:06 +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: |
|
run: |
|
||||||
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
|
|
||||||
- name: Publish.
|
- name: Publish.
|
||||||
run: |
|
run: |
|
||||||
|
npm version patch
|
||||||
|
git push --atomic --tags origin HEAD
|
||||||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
||||||
npm publish
|
npm publish
|
||||||
- run: git push origin --tags
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue