Skip to content

Commit

Permalink
🐛 fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
XiYang6666 committed Apr 19, 2024
1 parent 48c1b01 commit 9f1cd74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build:

runs-on: windows-latest
runs-on: ubuntu-latest

strategy:
matrix:
Expand All @@ -27,7 +27,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Setup pnpm
uses: pnpm/[email protected]
- run: pnpm config set script-shell "pwsh"
- run: pnpm install
- run: pnpm run build
- run: pnpm test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"types": "dist/index.d.js",
"scripts": {
"test": "jest",
"build": "rm ./dist -Recurse -ErrorAction SilentlyContinue || tsc"
"build": "bash -c \"rm -rf ./dist\" && tsc"
},
"keywords": [
"lightweight",
Expand Down

0 comments on commit 9f1cd74

Please sign in to comment.