ci: npm version stuff

This commit is contained in:
EvolutionX
2022-06-29 11:50:10 +05:30
parent e06ae29fa1
commit c4c9b11bc2

View File

@@ -30,6 +30,8 @@ jobs:
run: sern
- name: Publish to npm
run: npm publish --tag dev
run: |
npm version --preid "dev.$(git rev-parse --verify --short HEAD)"
npm publish --tag dev
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}