fix(repo): update the version of nx-cloud that set NX_BRANCH and NX_RUN_GROUP automatically

This commit is contained in:
Victor Savkin 2020-09-24 13:12:25 -04:00
parent c382feb4de
commit 7582aab6cc
3 changed files with 5 additions and 15 deletions

View File

@ -10,9 +10,6 @@ executors:
environment:
# install Cypress in Linux-like cache folder
CYPRESS_CACHE_FOLDER: '~/.cache/Cypress'
NX_BRANCH: 'computedInSteps'
NX_RUN_GROUP: << pipeline.number >>
docker:
- image: circleci/node:12-browsers
@ -53,13 +50,6 @@ commands:
setup:
description: 'Setup Executor'
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
- install_rsync
- attach_workspace:

View File

@ -66,7 +66,7 @@
"@nrwl/eslint-plugin-nx": "10.2.1-beta.1",
"@nrwl/jest": "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",
"@reduxjs/toolkit": "1.3.2",
"@rollup/plugin-babel": "5.0.2",

View File

@ -2563,10 +2563,10 @@
webpack-merge "4.2.1"
webpack-node-externals "1.7.2"
"@nrwl/nx-cloud@^10.1.1":
version "10.1.1"
resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-10.1.1.tgz#bfb3e70b8ffdf190e82622f7822792ef1e108ae0"
integrity sha512-R7vDsI/5RveiqAMPc16QYNPD29LiHe3fJgDXW4n4qjDLEq2nOtn1MOlMM0T4kH7hqhL5UIuZ2GipafMuui+ykw==
"@nrwl/nx-cloud@^10.1.3":
version "10.1.3"
resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-10.1.3.tgz#b667b3a39238bb23320d95583c250644d25535be"
integrity sha512-20HDcRIbF9z84QyxzKxR1hW6VyX8JybrW+MOdCtUuCcU5jDZO/Vh8Cb3KZ0+5S2IKdbFdVfxPrCb1OIc1IPWZg==
dependencies:
axios "^0.19.0"
node-machine-id "^1.1.12"