Skip to content

Commit

Permalink
ci(workflow): fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Sep 4, 2022
1 parent e781b45 commit 4bbf3e6
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js for NPM
uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'

- run: npm install
- run: npm publish
- run: yarn
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -65,16 +66,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js for GPR
uses: actions/setup-node@v3
with:
registry-url: 'https://npm.pkg.github.com/'
scope: '@snazzah'

- run: npm install
- run: npm run gpr
- run: npm publish
- run: yarn
- run: yarn run gpr
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4bbf3e6

Please sign in to comment.