1
0

fix workflow

This commit is contained in:
2022-06-26 00:04:27 +02:00
parent 8ee6b0f389
commit d345b61925
3 changed files with 6 additions and 4 deletions

View File

@@ -13,8 +13,8 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm run build
- run: npm publish --tag pre --access public
- name: Build & Publish
run: npm ci && npm run build && npm publish --tag pre --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@@ -26,7 +26,7 @@ jobs:
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm run build
- run: npm publish --tag pre --access public
- name: Build & Publish
run: npm ci && npm run build && npm publish --tag pre --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

View File

@@ -1,5 +1,6 @@
.github/
src/
test/
.nvmrc
MIGRATION.md
tsconfig.json

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
v16