fix(repo): update the version of nx-cloud that set NX_BRANCH and NX_RUN_GROUP automatically
This commit is contained in:
parent
c382feb4de
commit
7582aab6cc
@ -10,9 +10,6 @@ executors:
|
|||||||
environment:
|
environment:
|
||||||
# install Cypress in Linux-like cache folder
|
# install Cypress in Linux-like cache folder
|
||||||
CYPRESS_CACHE_FOLDER: '~/.cache/Cypress'
|
CYPRESS_CACHE_FOLDER: '~/.cache/Cypress'
|
||||||
NX_BRANCH: 'computedInSteps'
|
|
||||||
NX_RUN_GROUP: << pipeline.number >>
|
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:12-browsers
|
- image: circleci/node:12-browsers
|
||||||
|
|
||||||
@ -53,13 +50,6 @@ commands:
|
|||||||
setup:
|
setup:
|
||||||
description: 'Setup Executor'
|
description: 'Setup Executor'
|
||||||
steps:
|
steps:
|
||||||
- run:
|
|
||||||
name: Set PR number to NX_BRANCH
|
|
||||||
command: |
|
|
||||||
echo 'export NX_BRANCH="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}"' >> $BASH_ENV
|
|
||||||
source $BASH_ENV
|
|
||||||
echo $NX_BRANCH
|
|
||||||
- run: echo $NX_BRANCH
|
|
||||||
- checkout
|
- checkout
|
||||||
- install_rsync
|
- install_rsync
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
|
|||||||
@ -66,7 +66,7 @@
|
|||||||
"@nrwl/eslint-plugin-nx": "10.2.1-beta.1",
|
"@nrwl/eslint-plugin-nx": "10.2.1-beta.1",
|
||||||
"@nrwl/jest": "10.2.1-beta.1",
|
"@nrwl/jest": "10.2.1-beta.1",
|
||||||
"@nrwl/node": "10.2.1-beta.1",
|
"@nrwl/node": "10.2.1-beta.1",
|
||||||
"@nrwl/nx-cloud": "^10.1.1",
|
"@nrwl/nx-cloud": "^10.1.3",
|
||||||
"@nrwl/workspace": "10.2.1-beta.1",
|
"@nrwl/workspace": "10.2.1-beta.1",
|
||||||
"@reduxjs/toolkit": "1.3.2",
|
"@reduxjs/toolkit": "1.3.2",
|
||||||
"@rollup/plugin-babel": "5.0.2",
|
"@rollup/plugin-babel": "5.0.2",
|
||||||
|
|||||||
@ -2563,10 +2563,10 @@
|
|||||||
webpack-merge "4.2.1"
|
webpack-merge "4.2.1"
|
||||||
webpack-node-externals "1.7.2"
|
webpack-node-externals "1.7.2"
|
||||||
|
|
||||||
"@nrwl/nx-cloud@^10.1.1":
|
"@nrwl/nx-cloud@^10.1.3":
|
||||||
version "10.1.1"
|
version "10.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-10.1.1.tgz#bfb3e70b8ffdf190e82622f7822792ef1e108ae0"
|
resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-10.1.3.tgz#b667b3a39238bb23320d95583c250644d25535be"
|
||||||
integrity sha512-R7vDsI/5RveiqAMPc16QYNPD29LiHe3fJgDXW4n4qjDLEq2nOtn1MOlMM0T4kH7hqhL5UIuZ2GipafMuui+ykw==
|
integrity sha512-20HDcRIbF9z84QyxzKxR1hW6VyX8JybrW+MOdCtUuCcU5jDZO/Vh8Cb3KZ0+5S2IKdbFdVfxPrCb1OIc1IPWZg==
|
||||||
dependencies:
|
dependencies:
|
||||||
axios "^0.19.0"
|
axios "^0.19.0"
|
||||||
node-machine-id "^1.1.12"
|
node-machine-id "^1.1.12"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user