Merge pull request #105 from y574444354/fix/publish
ci(publish-npm): fix publish workflow
This commit is contained in:
commit
117a857b25
8
.github/workflows/publish-npm.yml
vendored
8
.github/workflows/publish-npm.yml
vendored
|
|
@ -107,18 +107,18 @@ jobs:
|
|||
# - name: Run tests
|
||||
# run: bun test
|
||||
|
||||
- name: Build for publish (Vite)
|
||||
run: bun run build:vite
|
||||
- name: Build for publish
|
||||
run: bun run build
|
||||
|
||||
- name: Publish to npm
|
||||
if: ${{ github.event.inputs.dry_run != 'true' }}
|
||||
run: npm publish --provenance --access public --ignore-scripts
|
||||
run: npm publish --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish to npm (dry-run)
|
||||
if: ${{ github.event.inputs.dry_run == 'true' }}
|
||||
run: npm publish --dry-run --provenance --access public --ignore-scripts
|
||||
run: npm publish --dry-run --provenance --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user