This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/.github/workflows/test.yml

36 lines
765 B
YAML

name: Main
on: [pull_request, push]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install deps
run: yarn --non-interactive --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test build
run: yarn build
- name: Unit tests
run: yarn test:unit
- name: Download spec tests
run: yarn download-test-cases
- name: Spec tests
run: yarn test:spec
- name: Web tests
run: yarn test:web
- name: Benchmark
run: yarn benchmark:all