Skip to content

Commit

Permalink
Update release-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfland committed Dec 25, 2021
1 parent 524e6e3 commit b5e7eee
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm test

- run: |
npm ci
npm test
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
publish-gpr:
needs: build
Expand Down Expand Up @@ -44,11 +49,10 @@ jobs:
- name: 'Change NPM version'
uses: reedyuk/npm-version@1.1.1
with:
# version: ${{github.event.release.tag_name}}
version: $GITVERSION_SEMVER

- run: npm ci

- run: npm publish
- run: |
npm ci
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit b5e7eee

Please sign in to comment.