-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bugfix-missing-top-level-deps
- Loading branch information
Showing
1,087 changed files
with
36,500 additions
and
15,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ version: 2.1 | |
# ------------------------- | ||
orbs: | ||
nx: nrwl/[email protected] | ||
node: circleci/[email protected] | ||
rust: circleci/[email protected] | ||
browser-tools: circleci/[email protected] | ||
|
||
|
@@ -20,14 +19,14 @@ executors: | |
linux: | ||
<<: *defaults | ||
docker: | ||
- image: cimg/rust:1.66.1-browsers | ||
- image: cimg/rust:1.70.0-browsers | ||
resource_class: medium+ | ||
|
||
macos: | ||
<<: *defaults | ||
resource_class: macos.x86.medium.gen2 | ||
macos: | ||
xcode: &_XCODE_VERSION '13.0.0' | ||
xcode: '14.2.0' | ||
|
||
# ------------------------- | ||
# COMMANDS | ||
|
@@ -42,10 +41,22 @@ commands: | |
name: Restore pnpm Package Cache | ||
keys: | ||
- node-deps-{{ arch }}-v3-{{ checksum "pnpm-lock.yaml" }} | ||
- run: | ||
name: Install pnpm package manager | ||
command: | | ||
npm install -g @pnpm/[email protected] | ||
- when: | ||
condition: | ||
equal: [<< parameters.os >>, linux] | ||
steps: | ||
- run: | ||
name: Install pnpm package manager (linux) | ||
command: | | ||
npm install --prefix=$HOME/.local -g @pnpm/[email protected] | ||
- when: | ||
condition: | ||
equal: [<< parameters.os >>, macos] | ||
steps: | ||
- run: | ||
name: Install pnpm package manager (macos) | ||
command: | | ||
npm install -g @pnpm/[email protected] | ||
- run: | ||
name: Install Dependencies | ||
command: | | ||
|
@@ -95,9 +106,6 @@ commands: | |
sudo apt-get install -y ca-certificates lsof | ||
- browser-tools/install-chrome | ||
- browser-tools/install-chromedriver | ||
- node/install: | ||
# Use LTS version | ||
node-version: '' | ||
- run-pnpm-install: | ||
os: << parameters.os >> | ||
|
||
|
@@ -137,7 +145,7 @@ jobs: | |
- run: | ||
name: Set dynamic nx run variable | ||
command: | | ||
echo "export NX_RUN_GROUP=\"run-group-<< parameters.os >>-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV | ||
echo "export NX_CI_EXECUTION_ENV=\"<< parameters.os >>\";" >> $BASH_ENV | ||
- setup: | ||
os: << parameters.os >> | ||
- run: | ||
|
@@ -160,7 +168,7 @@ jobs: | |
- run: | ||
name: Set dynamic nx run variable | ||
command: | | ||
echo "export NX_RUN_GROUP=\"run-group-linux-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV | ||
echo "export NX_CI_EXECUTION_ENV=\"linux\";" >> $BASH_ENV | ||
- setup: | ||
os: linux | ||
- nx/set-shas: | ||
|
@@ -179,7 +187,7 @@ jobs: | |
pnpm nx-cloud record -- nx format:check --base=$NX_BASE --head=$NX_HEAD & | ||
pids+=($!) | ||
pnpm nx run-many -t check-imports check-commit check-lock-files depcheck check-codeowners documentation --parallel=1 --no-dte & | ||
pnpm nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte & | ||
pids+=($!) | ||
pnpm nx affected --target=lint --base=$NX_BASE --head=$NX_HEAD --parallel=3 & | ||
|
@@ -200,14 +208,15 @@ jobs: | |
executor: macos | ||
environment: | ||
NX_E2E_CI_CACHE_KEY: e2e-circleci-macos | ||
NX_DAEMON: 'true' | ||
NX_DAEMON: 'false' # TODO: set to true after #18410 | ||
NX_PERF_LOGGING: 'false' | ||
SELECTED_PM: 'npm' # explicitly define npm for macOS tests | ||
NX_SKIP_NX_CACHE: 'true' # TODO: Remove after #18410 | ||
steps: | ||
- run: | ||
name: Set dynamic nx run variable | ||
command: | | ||
echo "export NX_RUN_GROUP=\"run-group-macos-$CIRCLE_WORKFLOW_ID\";" >> $BASH_ENV | ||
echo "export NX_CI_EXECUTION_ENV=\"macos\";" >> $BASH_ENV | ||
- setup: | ||
os: macos | ||
- rust/install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,13 +76,13 @@ Check out [this video for a live walkthrough](https://youtu.be/Tx257WpNsxc) or f | |
- Run `pnpm local-registry` in Terminal 1 (keep it running) | ||
- Run `npm adduser --registry http://localhost:4873` in Terminal 2 (real credentials are not required, you just need to | ||
be logged in. You can use test/test/[email protected].) | ||
- Run `pnpm nx-release 16.0.0 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use the next major | ||
- Run `pnpm nx-release 17.0.0 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use the next major | ||
- Run `cd ./tmp` in Terminal 2 | ||
- Run `npx [email protected]` in Terminal 2 | ||
|
||
If you have problems publishing, make sure you use Node 18 and NPM 8. | ||
|
||
**NOTE:** To use this newly published local version, you need to make a new workspace or change all of your target packages to this new version, eg: `"nx": "^16.0.0",` and re-run `pnpm i` in your testing project. | ||
**NOTE:** To use this newly published local version, you need to make a new workspace or change all of your target packages to this new version, eg: `"nx": "^17.0.0",` and re-run `pnpm i` in your testing project. | ||
|
||
### Publishing for Yarn 2+ (Berry) | ||
|
||
|
Oops, something went wrong.