Skip to content

Commit

Permalink
npm: fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Mar 29, 2023
1 parent c1dd510 commit 999e752
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
node-version: 18
registry-url: https://npm.pkg.github.com/

- name: Install
run: yarn install

- name: Compile
run: yarn build

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -68,6 +74,12 @@ jobs:
node-version: 18
registry-url: https://registry.npmjs.org/

- name: Install
run: yarn install

- name: Compile
run: yarn build

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 999e752

Please sign in to comment.