fix workflow
This commit is contained in:
8
.github/workflows/publish-pre.yml
vendored
8
.github/workflows/publish-pre.yml
vendored
@@ -13,8 +13,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: npm run build
|
- name: Build & Publish
|
||||||
- run: npm publish --tag pre --access public
|
run: npm ci && npm run build && npm publish --tag pre --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
registry-url: https://npm.pkg.github.com/
|
registry-url: https://npm.pkg.github.com/
|
||||||
- run: npm run build
|
- name: Build & Publish
|
||||||
- run: npm publish --tag pre --access public
|
run: npm ci && npm run build && npm publish --tag pre --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
.github/
|
.github/
|
||||||
src/
|
src/
|
||||||
test/
|
test/
|
||||||
|
.nvmrc
|
||||||
MIGRATION.md
|
MIGRATION.md
|
||||||
tsconfig.json
|
tsconfig.json
|
||||||
Reference in New Issue
Block a user