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 85a8354
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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
8 changes: 5 additions & 3 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.9",
"license": "MIT",
"private": false,
"sideEffects": false,
Expand All @@ -20,8 +20,10 @@
},
"type": "module",
"module": "dist/esm/index.mjs",
"directories": {
"dist": "dist"
},
"files": [
"dist",
"README.md",
"LICENSE.md",
"SECURITY.md",
Expand Down Expand Up @@ -58,7 +60,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 85a8354

Please sign in to comment.