Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit d93530d

Browse files
committed
Fix publish.yml
1 parent 59877e3 commit d93530d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cache-dependency-path: "**/pnpm-lock.yaml"
2323
- run: pnpm install --frozen-lockfile --prefer-offline
2424
- run: pnpm build
25-
- run: ./scripts/publish.ts ${{ github.ref_name }}
25+
- run: pnpm publishCI ${{ github.ref_name }}
2626
env:
2727
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2828
- uses: ArnaudBarre/github-release@v1

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"prettier": "pnpm prettier-ci --write",
1010
"prettier-ci": "prettier --cache --ignore-path=.gitignore --check '**/*.{js,jsx,ts,tsx,html,css,json,md,yml}'",
1111
"ci": "tsc && pnpm prettier-ci && pnpm build && cd playground && tsc && cd .. && pnpm test",
12-
"release": "scripts/release.ts"
12+
"release": "scripts/release.ts",
13+
"publishCI": "scripts/publish.ts"
1314
},
1415
"prettier": {
1516
"trailingComma": "all"

0 commit comments

Comments
 (0)