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

33 lines
678 B
YAML
Raw Normal View History

2020-11-20 12:16:25 +00:00
name: Main
2020-02-20 20:55:18 +00:00
on: [pull_request, push]
jobs:
2020-11-20 12:16:25 +00:00
tests:
name: Tests
2020-02-20 20:55:18 +00:00
runs-on: ubuntu-latest
steps:
2020-11-20 12:16:25 +00:00
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
registry-url: "https://registry.npmjs.org"
- name: Install deps
run: yarn
- name: Check types
run: yarn check-types
- name: Lint
run: yarn lint
2020-11-25 11:41:28 +00:00
- name: Test build
run: yarn build
- name: Unit tests
run: yarn test:unit
- name: Spec tests
run: yarn test:spec
- name: Web tests
run: yarn test:web
2020-11-20 19:37:07 +00:00
- name: Benchmark
run: yarn benchmark