fix: configure npm OIDC trusted publishing correctly

This commit is contained in:
KM Koushik
2026-01-18 22:03:24 +11:00
parent b3b7bddafb
commit 4c4d150dba
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -28,10 +28,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: "https://registry.npmjs.org"
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Update npm for OIDC support
run: npm install -g npm@latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
+1 -1
View File
@@ -9,7 +9,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint . --max-warnings 0",
"build": "tsup",
"publish-sdk": "pnpm run build && npm publish --no-git-checks",
"publish-sdk": "pnpm run build && npm publish --access public --no-git-checks",
"openapi-typegen": "openapi-typescript ../../apps/docs/api-reference/openapi.json -o types/schema.d.ts"
},
"keywords": [],