Skip to content

Commit 766ce25

Browse files
committed
fix the building and publishing thing
1 parent 5eb2cfa commit 766ce25

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
registry-url: https://registry.npmjs.org/
3737
- run: pnpm install
3838
- run: pnpm run build
39-
- run: pnpm publish --access public
39+
- run: pnpm publish --access public --no-git-checks
4040
env:
4141
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4242

@@ -53,6 +53,6 @@ jobs:
5353
node-version: 12
5454
registry-url: https://npm.pkg.github.com/
5555
- run: pnpm install
56-
- run: pnpm publish
56+
- run: pnpm publish --no-git-checks
5757
env:
5858
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
env.json
3+
src

0 commit comments

Comments
 (0)