Skip to content

Commit c014259

Browse files
committed
chore: fix release pipeline
1 parent 85d0bc0 commit c014259

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,5 @@ jobs:
3636
- name: Lint & Format check
3737
run: npm run lint
3838

39-
- name: Build
40-
run: npm run build
41-
4239
- name: Unit tests
4340
run: npm run test:coverage

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
"typecheck": "tsc --noEmit",
2020
"lint": "eslint && prettier --check .",
2121
"format": "eslint --fix && prettier --write .",
22+
"pretest": "npm run build",
2223
"test": "LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 TZ=Asia/Sydney jest",
2324
"test:coverage": "npm run test -- --coverage",
24-
"checks": "npm run typecheck && npm run lint && npm run test && npm run build",
25+
"checks": "npm run typecheck && npm run lint && npm run test",
2526
"build": "npm run build:types && npm run build:bundle",
2627
"build:types": "tsc --project tsconfig.json",
2728
"build:bundle": "webpack",
28-
"prepublishOnly": "rm -rf dist && npm run checks && npm run build"
29+
"prepublishOnly": "rm -rf dist && npm run checks"
2930
},
3031
"repository": {
3132
"type": "git",

0 commit comments

Comments
 (0)