Skip to content

Commit aea8b95

Browse files
fix: add no-git-checks flag to publish command to ignore the overridden npmrc file
1 parent 7ee03ff commit aea8b95

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ jobs:
3838
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
3939
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
4040
41+
- name: Debug .npmrc
42+
run: cat ~/.npmrc
43+
4144
- name: Allow Publishing from publish-to-npm Branch
4245
run: pnpm config set publish-branch publish-to-npm
4346

4447
- name: Publish to npm Registry
4548
run: |
46-
pnpm publish --filter ./packages/framework
47-
pnpm publish --filter ./packages/runtime
49+
pnpm publish --filter ./packages/framework --no-git-checks
50+
pnpm publish --filter ./packages/runtime --no-git-checks

0 commit comments

Comments
 (0)