Skip to content

Commit 166e546

Browse files
committed
fix: Fixed NPM publish
1 parent 8a75395 commit 166e546

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/general.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
node-version-file: package.json
5858
- name: Install Dependencies
5959
run: pnpm install:ci
60+
- name: Login to Npm
61+
run: pnpm login:ci
6062
- name: Release Extension
6163
uses: cycjimmy/semantic-release-action@v5
6264
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"format": "biome check --write",
2424
"install:ci": "pnpm install --ignore-scripts",
2525
"lint": "biome check",
26+
"login:ci": "pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}",
2627
"prepare": "husky",
2728
"publish:py": "uv --directory sdk-py publish",
2829
"publish:ts": "pnpm -r publish --access public --ignore-scripts --no-git-checks",

0 commit comments

Comments
 (0)