Skip to content

Commit e645fdd

Browse files
committed
Use .npmrc for git-checks configuration instead of command flag
1 parent 150f7a9 commit e645fdd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: pnpm run check
3737

3838
- name: Publish to npm
39-
run: pnpm publish --access public --no-git-checks
39+
run: pnpm publish --access public
4040
env:
4141
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4242

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git-checks=false

0 commit comments

Comments
 (0)