Upgrade o1js version #252
Workflow file for this run
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
name: Run Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Run-Tests: | |
runs-on: ubuntu-latest | |
services: | |
mina-local-network: | |
image: o1labs/mina-local-network:compatible-latest-lightnet | |
env: | |
NETWORK_TYPE: 'single-node' | |
PROOF_LEVEL: 'none' | |
ports: | |
- 3085:3085 | |
- 5432:5432 | |
- 8080:8080 | |
- 8181:8181 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm ci | |
- name: Wait for Mina network readiness | |
uses: o1-labs/wait-for-mina-network-action@v1 | |
with: | |
mina-graphql-port: 8080 | |
max-attempts: 60 | |
polling-interval-ms: 10000 | |
- name: Run tests | |
run: npm run test |