Skip to content

Commit 27d8cda

Browse files
committed
ci: ignore uncommited files on pnpm publish
We copy README and LICENSE from the root dir to published packages and do not commit them.
1 parent 79929ae commit 27d8cda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/beta-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
env:
7777
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7878
- name: Publish beta to npm
79-
run: pnpm publish --tag beta
79+
run: pnpm publish --no-git-checks --tag beta
8080

8181
- uses: ad-m/github-push-action@master
8282
with:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
env:
8484
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
8585
- name: Publish to npm
86-
run: pnpm publish
86+
run: pnpm publish --no-git-checks
8787

8888
- uses: ad-m/github-push-action@master
8989
with:

0 commit comments

Comments
 (0)