Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 1c11ae9

Browse files
committed
ci: build in prepack hook
1 parent fa1b5e7 commit 1c11ae9

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ jobs:
3131
- name: Type check
3232
run: pnpm type-check
3333

34-
- name: Build
35-
run: pnpm build
36-
3734
- name: Release
3835
env:
3936
GH_TOKEN: ${{ secrets.GH_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
run: pnpm lint
3434

3535
- name: Type check
36+
if: ${{ matrix.os == 'ubuntu-latest' }}
3637
run: pnpm type-check
3738

3839
- name: Test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lint": "eslint .",
3030
"type-check": "tsc --noEmit",
3131
"test": "pnpm build && node --loader @esbuild-kit/esm-loader tests",
32-
"prepack": "clean-pkg-json"
32+
"prepack": "pnpm build && clean-pkg-json"
3333
},
3434
"dependencies": {
3535
"@esbuild-kit/core-utils": "^2.3.2",

0 commit comments

Comments
 (0)