-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "feat(repo): enable agents" (#19112)"
This reverts commit 3771c32.
- Loading branch information
1 parent
3b3fc92
commit bda90c4
Showing
5 changed files
with
100 additions
and
107 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
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
parallelism: 8 | ||
env: | ||
CI: 'true' | ||
GIT_AUTHOR_EMAIL: test@test.com | ||
GIT_AUTHOR_NAME: Test | ||
GIT_COMMITTER_EMAIL: test@test.com | ||
GIT_COMMITTER_NAME: Test | ||
NX_E2E_CI_CACHE_KEY: e2e-circleci-linux | ||
NX_VERBOSE_LOGGING: 'false' | ||
NX_DAEMON: 'true' | ||
NX_PERF_LOGGING: 'false' | ||
NX_NATIVE_LOGGING: 'false' | ||
SELECTED_PM: 'pnpm' | ||
NX_E2E_RUN_E2E: 'true' | ||
NPM_CONFIG_PREFIX: '/home/workflows/.npm-global' | ||
steps: | ||
- name: Git Clone | ||
script: | | ||
git init . | ||
git remote add origin $GIT_REPOSITORY_URL | ||
git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +{{nxCommitSha}}:{{nxCommitRef}} | ||
git checkout --progress --force -B {{nxBranch}} {{nxCommitRef}} | ||
- name: Restore cache | ||
script: | | ||
nxw cache restore {{nxBranch}}-node_modules node_modules | ||
nxw cache restore {{nxBranch}}-cypress ~/.cache/Cypress | ||
nxw cache restore {{nxBranch}}-pnpm-store ~/.pnpm-store | ||
- name: Install Pnpm | ||
script: | | ||
npm install -g @pnpm/exe@8.3.1 | ||
- name: Pnpm Install | ||
script: | | ||
pnpm install --frozen-lockfile | ||
- name: Install Rust | ||
script: | | ||
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y | ||
source "$HOME/.cargo/env" | ||
rustup toolchain install 1.70.0 | ||
- name: Configure git metadata (needed for lerna smoke tests) | ||
script: | | ||
git config --global user.email test@test.com | ||
git config --global user.name "Test Test" | ||
- name: Run Agent | ||
script: | | ||
source "$HOME/.cargo/env" | ||
npx nx-cloud start-agent | ||
- name: Store to cache | ||
script: | | ||
nxw cache store {{nxBranch}}-node_modules node_modules | ||
nxw cache store {{nxBranch}}-cypress ~/.cache/Cypress | ||
nxw cache store {{nxBranch}}-pnpm-store ~/.pnpm-store |
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
bda90c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nx-dev – ./
nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev