Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Update test_backend_demos.yml (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
urani-engineering-helper authored Apr 15, 2024
1 parent 36f5aaf commit 06c8f18
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/test_backend_demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ env:
ANCHOR_VERSION: 0.29.0

jobs:
build:
test_05:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
- uses: actions/setup-node@v3
with:
node-version: 16.14.2
node-version: 20.11.1
cache: "npm"
- run: cd ./demos/backend/05_transfer_hooks_extension
- run: npm install
Expand All @@ -29,3 +29,25 @@ jobs:
shell: bash
- run: npm i -g @project-serum/anchor-cli@$ANCHOR_VERSION ts-mocha typescript
- run: anchor test

test_06:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
- uses: actions/setup-node@v3
with:
node-version: 20.11.1
cache: "npm"
- run: cd ./demos/backend/06_transfer_hooks_counter
- run: npm install
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
shell: bash
- run: echo "/home/runner/.cargo/bin" >> $GITHUB_PATH
shell: bash
- run: curl -sSfL https://release.solana.com/$SOLANA_VERSION/install | sh
shell: bash
- run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
shell: bash
- run: npm i -g @project-serum/anchor-cli@$ANCHOR_VERSION ts-mocha typescript
- run: anchor test

0 comments on commit 06c8f18

Please sign in to comment.