Skip to content

Commit

Permalink
perf(circleCI): build edge on release step
Browse files Browse the repository at this point in the history
Without this we have to persist everything again at build step which adds ~1min
  • Loading branch information
pi0 committed Aug 31, 2018
1 parent 2e5edaa commit 4ad1528
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ jobs:
at: ~/project
- run:
name: Build Fixtures
command: EDGE_BUILD=1 yarn build && yarn test:fixtures -w=4 --coverage && yarn coverage
command: yarn build && yarn test:fixtures -w=4 --coverage && yarn coverage
- persist_to_workspace:
root: ~/project
paths:
- nuxt
- nuxt/test/fixtures
- nuxt/dist
environment:
- NODE_ENV: "test"

Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
command: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
EDGE_BUILD=1 yarn build
npm publish
for p in packages/*; do cd $p ; npm publish ; cd - ; done
Expand Down

0 comments on commit 4ad1528

Please sign in to comment.