Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed May 20, 2023
1 parent d1d5f9d commit 593adb8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 19
node-version: "20"
- uses: pnpm/action-setup@v2
- run: pnpm install
- run: pnpm run build
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: "19"
node-version: "20"
cache: "pnpm"
- run: pnpm install
- run: npm install -g npm
- run: pnpm run build
- uses: changesets/action@v1
with:
publish: pnpm run publish
publish: npx changeset publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 19
node-version: "20"
- uses: pnpm/action-setup@v2
- run: pnpm install
- run: pnpm test
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
}
},
"scripts": {
"publish": "pnpm run clean && pnpm run build && pnpm run doc:api && pnpm test && npx changeset publish",
"clean": "rimraf ./out ./utils/web ./utils/node ./es ./coverage ./dist",
"watch:tsc": "tsc -b -w",
"build:tsc": "tsc -b",
Expand Down

0 comments on commit 593adb8

Please sign in to comment.