Skip to content

Commit

Permalink
chore: tweak build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry committed Sep 14, 2024
1 parent 73787fd commit f16b9dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: 'pnpm install --frozen-lockfile --child-concurrency=10'
- name: 'Check for Errors'
run: 'pnpm check'
- name: 'Build src'
run: 'pnpm build:src'
- name: 'Check the build'
run: 'pnpm build'
- name: 'Run Tests'
run: 'pnpm test'
4 changes: 2 additions & 2 deletions .github/workflows/pullrequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: 'pnpm install --frozen-lockfile --child-concurrency=10'
- name: 'Check for Errors'
run: 'pnpm check'
- name: 'Build src'
run: 'pnpm build:src'
- name: 'Check the build'
run: 'pnpm build'
- name: 'Run Tests'
run: 'pnpm test'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"scripts": {
"clean": "rimraf ./dist versions.json",
"format": "prettier --ignore-unknown --write .",
"build:src": "pnpm run build:versions && tsup src/index.ts --format cjs,esm --dts --clean --sourcemap",
"build:src": "tsup src/index.ts --format cjs,esm --dts --clean --sourcemap",
"build:versions": "pnpm version --json > versions.json",
"build": "run-s -l cs-version build:src",
"build": "run-s -l build:versions build:src",
"cs-version": "changeset version",
"cs-publish": "changeset publish",
"release": "run-s -l clean cs-version build cs-publish",
Expand Down

0 comments on commit f16b9dd

Please sign in to comment.