Skip to content

Commit

Permalink
chore: use npm in npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 2, 2021
1 parent 5939e6b commit 11f57e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -45,7 +45,7 @@ jobs:

# Runs a set of commands using the runners shell
- name: Build and Test
run: pnpm test
run: npm test

release:
runs-on: ubuntu-latest
Expand All @@ -68,6 +68,7 @@ jobs:
${{ runner.os }}-${{ matrix.node-version }}-release-
${{ runner.os }}-
- run: npm i -g pnpm
- run: pnpm i
- run: pnpx -y semantic-release --branches main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -17,12 +17,12 @@
"url": "https://github.com/egoist/tsup.git"
},
"scripts": {
"dev": "pnpm run build-fast -- --watch",
"dev": "npm run build-fast -- --watch",
"build": "tsup src/cli-*.ts src/index.ts src/rollup.ts --clean --splitting",
"prepublishOnly": "pnpm run build-fast",
"test": "pnpm run build && pnpm run test-only",
"prepublishOnly": "npm run build-fast",
"test": "npm run build && npm run test-only",
"test-only": "ava test/*.test.ts --fail-fast --timeout 60s",
"build-fast": "pnpm run build -- --no-dts"
"build-fast": "npm run build -- --no-dts"
},
"ava": {
"extensions": [
Expand Down

0 comments on commit 11f57e2

Please sign in to comment.