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.
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
|
2021-04-05 19:10:31 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
node: [12, 14]
|
2020-02-20 20:55:18 +00:00
|
|
|
steps:
|
2020-11-20 12:16:25 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
2021-04-05 19:10:31 +00:00
|
|
|
node-version: ${{matrix.node}}
|
2020-11-20 12:16:25 +00:00
|
|
|
- name: Install deps
|
|
|
|
run: yarn
|
|
|
|
- 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
|
2020-12-01 08:38:05 +00:00
|
|
|
- name: Download spec tests
|
|
|
|
run: yarn download-test-cases
|
2020-11-25 11:41:28 +00:00
|
|
|
- name: Spec tests
|
|
|
|
run: yarn test:spec
|
|
|
|
- name: Web tests
|
|
|
|
run: yarn test:web
|
|
|
|
|
2020-11-20 19:37:07 +00:00
|
|
|
- name: Benchmark
|
2020-11-30 22:07:26 +00:00
|
|
|
run: yarn benchmark:all
|