Skip to content

Commit 41e80b2

Browse files
committed
Fix script
1 parent 35284a4 commit 41e80b2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
registry-url: "https://registry.npmjs.org"
7070
node-version: 22
7171
cache: 'pnpm'
72+
env:
73+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7274
- run: pnpm i
7375
- run: pnpm build
7476
- run: |
@@ -113,7 +115,9 @@ jobs:
113115
package_dir=$(dirname "$package")
114116
echo "Publishing package: $package_dir"
115117
cd "$package_dir"
116-
pnpm publish
118+
pnpm publish --access public --no-git-checks
117119
cd "${{ github.workspace }}"
118120
done
121+
env:
122+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
119123
if: steps.changepacks.outputs.changepacks != ''

0 commit comments

Comments
 (0)