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 4ac2de2 commit 47f2559
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 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: |
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
./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
# 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 @@ -36,9 +36,8 @@ jobs:
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
./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

0 comments on commit 47f2559

Please sign in to comment.