Skip to content

Commit f4bc9b5

Browse files
committed
ci: fix ci error
1 parent b5beead commit f4bc9b5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
jobs:
1212
publish-npm:
13-
if: "!contains(github.event.head_commit.message, 'skip ci')"
1413
runs-on: ubuntu-latest
1514
steps:
1615
- uses: actions/checkout@v3
@@ -21,8 +20,7 @@ jobs:
2120
node-version: '16'
2221
registry-url: https://registry.npmjs.org/
2322
- run: npm i -g pnpm
24-
- run: pnpm install
23+
- run: pnpm install --no-frozen-lockfile
2524
- run: pnpm release
2625
env:
2726
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
28-

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"typecheck": "tsc --noEmit",
5151
"re-major": "standard-version -r major",
5252
"re-minor": "standard-version -r minor",
53-
"re-patch": "standard-version -r patch"
53+
"re-patch": "standard-version -r patch",
54+
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
5455
},
5556
"devDependencies": {
5657
"@antfu/ni": "^0.18.8",
@@ -61,8 +62,7 @@
6162
"typescript": "^4.9.4",
6263
"vite": "^4.0.1",
6364
"vitest": "^0.25.7",
64-
"tsup": "^6.5.0",
65-
"release": "pnpm run build && pnpm publish --access public --no-git-checks"
65+
"tsup": "^6.5.0"
6666
},
6767
"dependencies": {
6868
"@swc/core": "^1.3.22",

0 commit comments

Comments
 (0)