Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
# ... (other steps)
- name: Install dependencies
run: pnpm install
# ... other steps ...
- name: Install pnpm
run: npm install -g pnpm

- name: Start local blockchain node
run: npx hardhat node &
# Or use npx ganache-cli --port 8545 &
- name: Install dependencies
run: pnpm install

- name: Wait for node
run: |
- name: Start local blockchain node
run: npx hardhat node &
# Or use npx ganache-cli --port 8545 &

- name: Wait for node
run: |
for i in {1..10}; do
nc -z localhost 8545 && break
sleep 1
done

- name: Run tests
run: pnpm run test
- name: Run tests
run: pnpm run test

build:
name: Run build
Expand Down