Skip to content

Commit

Permalink
single run
Browse files Browse the repository at this point in the history
  • Loading branch information
fxck committed Oct 7, 2020
1 parent e9ca0c2 commit 4dff792
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ jobs:
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: cd tools/npm
- run: npm ci --ignore-scripts
- run: npm i -g replace-in-files-cli
- run: replace-in-files --string='v0.0.0-zerops' --replacement='${{ github.event.release.tag_name }}' package.json
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: |
cd tools/npm
npm ci --ignore-scripts
npm i -g replace-in-files-cli
replace-in-files --string='v0.0.0-zerops' --replacement='${{ github.event.release.tag_name }}' package.json
npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 4dff792

Please sign in to comment.