Skip to content

Commit b1fb0c2

Browse files
authored
bug(ci): explicitly call pre-build while building for publish steps (#495)
* Add pre-build to build-ci Signed-off-by: Shubham Sharma <[email protected]> * Add pre-build to build-ci Signed-off-by: Shubham Sharma <[email protected]> --------- Signed-off-by: Shubham Sharma <[email protected]>
1 parent e455e01 commit b1fb0c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"test:unit:utils": "NODE_ENV=test npm run test:unit 'test/unit/utils/.*\\.test\\.ts'",
3030
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
3131
"prebuild": "./scripts/prebuild.sh",
32-
"build-ci": "./scripts/build.sh",
33-
"build": "npm install && npm run lint && npm run pretty && npm run build-ci",
32+
"build-ci": "npm run prebuild && ./scripts/build.sh",
33+
"build": "npm install && npm run lint && npm run pretty && ./scripts/build.sh",
3434
"start:dev": "npm run build && nodemon --ext \".ts,.js\" --watch \"./src\" --exec \"npm run build\"",
3535
"pretty": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"",
3636
"pretty-fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\""

0 commit comments

Comments
 (0)