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 9153093
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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
4 changes: 2 additions & 2 deletions packages/gleamy/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gleamy",
"description": "Create a reactive shiny element in different materials",
"version": "2.0.2",
"version": "2.0.8",
"license": "MIT",
"private": false,
"sideEffects": false,
Expand Down 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 9153093

Please sign in to comment.