Skip to content

Commit 2f75b45

Browse files
committed
chore: Do not auto build
1 parent d3a4159 commit 2f75b45

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
uses: ./.github/actions/setup-node
2626

2727
- name: Install Dependencies
28-
run: pnpm i
28+
run: |
29+
pnpm i
30+
pnpm build
2931
3032
- name: lint
3133
run: pnpm run lint:ci

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
with:
3131
node-version: ${{ matrix.node-version }}
3232

33-
- run: pnpm install
33+
- run: |
34+
pnpm install
35+
pnpm build
3436
- run: pnpm test
3537

3638
# Test supported Operating Systems

.github/workflows/update-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
uses: ./.github/actions/setup-node
3535

3636
- name: Install
37-
run: pnpm install
37+
run: |
38+
pnpm install
3839
3940
- name: Update packages
4041
run: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint:prettier": "prettier -w .",
2323
"lint:prettier-ci": "prettier -c \"**/*.{yaml,yml,md}\"",
2424
"lint:spelling": "cspell --dot \"**\"",
25-
"prepare": "pnpm run build",
25+
"prepublishOnly": "pnpm run build",
2626
"build-production": "pnpm run build",
2727
"build": "tsc -b . -f",
2828
"build:readme": "inject-markdown README.md && pnpm lint:prettier",

0 commit comments

Comments
 (0)