Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
khola committed May 7, 2020
1 parent 05fba69 commit e3c4668
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "12.x"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}
- run: echo "registry=https://registry.npmjs.org/" > .npmrc
- run: echo >> .npmrc
- run: echo "@nordcloud:registry=https://npm.pkg.github.com/" >> .npmrc
- run: echo >> .npmrc
- run: echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
- run: npm install
- run: tsc
- run: echo "$NODE_AUTH_TOKEN"
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_KEY }}

0 comments on commit e3c4668

Please sign in to comment.