Skip to content

Commit

Permalink
chore: set npm auth from the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Space Corp Engineering committed Jul 10, 2024
1 parent 803f0e0 commit 4749aa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- run: pnpm install
- run: echo "publishing version ${{ env.RELEASE_VERSION }}"
- run: pnpm version ${{ env.RELEASE_VERSION }}
- run: npm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_PUBLISH_TOKEN}}
- run: pnpm config set //registry.npmjs.org/:_authToken ${{secrets.NPM_PUBLISH_TOKEN}}
- run: npm profile get
- run: pnpm publish:package
env:
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion packages/gleamy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"test": "jest",
"prepack": "node ./scripts/prepare.cjs",
"postpack": "node ./scripts/postpack.cjs",
"publish:package": "pnpm publish --no-git-checks --access=public",
"publish:package": "pnpm publish --force --no-git-checks --access=public",
"dry-run": "pnpm publish --dry-run --no-git-checks --access=public"
},
"peerDependencies": {
Expand Down

0 comments on commit 4749aa4

Please sign in to comment.