Skip to content

Commit

Permalink
feat(repo): add NX_BRANCH and NX_RUN_GROUP env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Sep 11, 2020
1 parent 9c4850c commit 14d8a8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ executors:
environment:
# install Cypress in Linux-like cache folder
CYPRESS_CACHE_FOLDER: '~/.cache/Cypress'
NX_BRANCH: << pipeline.git.branch >>
NX_RUN_GROUP: << pipeline.number >>

docker:
- image: circleci/node:12-browsers
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"worker-plugin": "3.2.0",
"yargs": "15.4.1",
"zone.js": "^0.10.0",
"@nrwl/nx-cloud": "10.1.0-beta.2"
"@nrwl/nx-cloud": "^10.1.1"
},
"author": "Victor Savkin",
"license": "MIT",
Expand All @@ -249,4 +249,4 @@
"pre-push": "yarn checkcommit && yarn documentation && pretty-quick --check"
}
}
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2354,10 +2354,10 @@
webpack-merge "4.2.1"
webpack-node-externals "1.7.2"

"@nrwl/[email protected].0-beta.2":
version "10.1.0-beta.2"
resolved "https://registry.yarnpkg.com/@nrwl/nx-cloud/-/nx-cloud-10.1.0-beta.2.tgz#221bcec27c2a0461fb365b62fc279bf6ef345cf1"
integrity sha512-b9jN/9cFIvUIBRDhihmvxkCEaVxHlsYsoZ1zHdU8m7LZed0W4i1mFKO5eMvcD5YVp6mkEvZ8iYAZ9vAQsouffA==
"@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==
dependencies:
axios "^0.19.0"
node-machine-id "^1.1.12"
Expand Down

0 comments on commit 14d8a8e

Please sign in to comment.