-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4ab22f
commit 4ac2de2
Showing
1 changed file
with
11 additions
and
4 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 |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
uses: nrwl/ci/.github/workflows/[email protected] | ||
with: | ||
init-commands: | | ||
./scripts/install.sh --enable-redis | ||
mkdir -p /home/runner/.config/solana/ | ||
source ./scripts/devenv.sh | ||
solana-keygen new --no-bip39-passphrase -o /home/runner/.config/solana/id.json | ||
npx nx-cloud record -- ./scripts/install.sh --enable-redis | ||
npx nx-cloud record -- mkdir -p /home/runner/.config/solana/ | ||
npx nx-cloud record -- source ./scripts/devenv.sh | ||
npx nx-cloud record --solana-keygen new --no-bip39-passphrase -o /home/runner/.config/solana/id.json | ||
# NOTE: Here we are using the special `nx-cloud record` command to ensure that any commands we run that do not go through the cloud task runner natively | ||
# (i.e. anything that starts with `nx run`/`nx run-many`/`nx affected --target`), are still captured in the Nx Cloud UI and Github App comment for | ||
# easier troubleshooting. See more here: https://nx.dev/nx-cloud/set-up/record-commands#recording-non-nx-commands | ||
|
@@ -35,3 +35,10 @@ jobs: | |
uses: nrwl/ci/.github/workflows/[email protected] | ||
with: | ||
number-of-agents: 3 | ||
install-commands: | | ||
npx nx-cloud record -- ./scripts/install.sh --enable-redis | ||
npx nx-cloud record -- mkdir -p /home/runner/.config/solana/ | ||
npx nx-cloud record -- source ./scripts/devenv.sh | ||
npx nx-cloud record --solana-keygen new --no-bip39-passphrase -o /home/runner/.config/solana/id.json | ||