Skip to content

Commit 5feef63

Browse files
authored
Improve build time (#1660)
* conditions in build steps * fix quotes * remove old code * refactor step to return true
1 parent 564bf11 commit 5feef63

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,4 @@ steps:
1212
- "npm install"
1313
- "npm run test"
1414
- "npm run build"
15-
key: 'main_build'
16-
17-
- label: ":shipit: Publish"
18-
depends_on: 'main_build'
19-
command:
20-
- "nvm install"
21-
- "npm install"
22-
- "npm run build"
23-
- "npm run bkRelease"
24-
- "npm run demo"
25-
if: "build.pull_request.id == null"
15+
- "[[ $BUILDKITE_PULL_REQUEST == 'false' ]] && npm run bkRelease && npm run demo || true"

0 commit comments

Comments
 (0)