mirror of
https://github.com/egoist/tsup.git
synced 2025-12-08 20:35:58 +00:00
chore: use npm in npm scripts
This commit is contained in:
parent
5939e6b282
commit
11f57e2dd6
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -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
|
||||
@ -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 }}
|
||||
|
||||
@ -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": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user