Remove dry run from publish
This commit is contained in:
parent
8b9a99d286
commit
82c51a319c
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -60,14 +60,14 @@ jobs:
|
||||
run: grunt
|
||||
- name: Deploy (release)
|
||||
if: github.event_name == 'release'
|
||||
run: npm publish --dry-run
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
- name: Deploy (release candidate)
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
npm --no-git-tag-version version prerelease
|
||||
npm publish --tag next --dry-run
|
||||
npm publish --tag next
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
deploy_npm:
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
- name: Run linting, tests, minify
|
||||
run: grunt
|
||||
- name: Deploy
|
||||
if: github.event_name == 'push'
|
||||
run: npm publish --dry-run
|
||||
if: github.event_name == 'release'
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
Loading…
Reference in New Issue
Block a user