Skip to content

Commit

Permalink
update github workflow [wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeytimoshin committed Oct 11, 2023
1 parent f4ab22f commit 4ac2de2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 4ac2de2

Please sign in to comment.