Skip to content

Commit

Permalink
fix ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Aug 17, 2023
1 parent 2870db2 commit d50de93
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ jobs:
- name: Build
run: pnpm run build

- name: Set up GitHub registry and publish
run: npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Configure npm for GitHub registry
run: |
echo "@fleetbase:registry=https://npm.pkg.github.com/" >> ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
- name: Publish to GitHub registry
run: npm publish

0 comments on commit d50de93

Please sign in to comment.