Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Add files via upload #866

Add files via upload

Add files via upload #866

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: build and test on Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ["14.x"]
os: [ubuntu-latest, windows-latest, macOS-latest]
env:
WEB3_PROVIDER_WSS: ${{ secrets.WEB3_PROVIDER_WSS }}
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
- name: Build
run: yarn build
- name: Test
run: yarn test --ci --coverage --maxWorkers=2