Skip to content

Commit

Permalink
(ci) updates github packages ci
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSettler committed Aug 4, 2022
1 parent c07a9c1 commit e9e805a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
always-auth: true
node-version: ${{ matrix.node-version }}
cache: 'yarn'
registry-url: https://npm.pkg.github.com/
Expand All @@ -100,7 +101,7 @@ jobs:
run: |
npm config set "//npm.pkg.github.com/:_authToken" "${NPM_TOKEN}"
yarn build
yarn publish --access public
npm publish
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e9e805a

Please sign in to comment.