Skip to content

Commit d4cb799

Browse files
committed
ci: Publish packages using OIDC with correctly generated package.json
files
1 parent 28364b8 commit d4cb799

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ jobs:
6262
- name: Publish to NPM
6363
working-directory: packages/${{ inputs.package }}
6464
run: |
65-
pnpm publish
65+
pnpm pack
66+
sudo npm i -g npm@latest
67+
/usr/local/bin/npm publish *.tgz
6668
6769
- name: Create GitHub release
6870
run: pnpm tsx scripts/create-github-release.ts ${{ inputs.package }}

0 commit comments

Comments
 (0)