Skip to content

Commit 2949941

Browse files
committed
ci: skip pnpm git checks in publishing actions
1 parent 864f97d commit 2949941

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ jobs:
130130
run: | #shell
131131
rm -rf ./dist/*.tar.gz ./dist/*.zip
132132
ls -l ./dist
133+
test -f ./dist/darwin-arm64/minijson || exit 1
134+
test -f ./dist/darwin-x64/minijson || exit 1
135+
test -f ./dist/linux-x64/minijson || exit 1
136+
test -f ./dist/win32-x64/minijson.exe || exit 1
133137
134138
- uses: actions/checkout@v4
135139

@@ -146,6 +150,6 @@ jobs:
146150
run: pnpm install
147151

148152
- name: Publish to npm
149-
run: pnpm publish --provenance --access public
153+
run: pnpm publish --provenance --access public --no-git-checks
150154
env:
151155
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)