mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +00:00
perf(circleCI): build edge on release step
Without this we have to persist everything again at build step which adds ~1min
This commit is contained in:
parent
2e5edaa572
commit
4ad1528b84
@ -49,11 +49,12 @@ jobs:
|
|||||||
at: ~/project
|
at: ~/project
|
||||||
- run:
|
- run:
|
||||||
name: Build Fixtures
|
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:
|
- persist_to_workspace:
|
||||||
root: ~/project
|
root: ~/project
|
||||||
paths:
|
paths:
|
||||||
- nuxt
|
- nuxt/test/fixtures
|
||||||
|
- nuxt/dist
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV: "test"
|
- NODE_ENV: "test"
|
||||||
|
|
||||||
@ -89,6 +90,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
|
EDGE_BUILD=1 yarn build
|
||||||
npm publish
|
npm publish
|
||||||
for p in packages/*; do cd $p ; npm publish ; cd - ; done
|
for p in packages/*; do cd $p ; npm publish ; cd - ; done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user