-
Notifications
You must be signed in to change notification settings - Fork 193
48 lines (38 loc) · 919 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: test
# On every pull request, but only on push to master
on:
push:
branches:
- master
- dev
- release
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: volta-cli/action@v4
- name: Install dependencies
run: |
yarn install
- name: Build
run: |
yarn run bootstrap
- name: Run browser tests (generate coverage)
run: |
yarn run test-cover
- name: Run node tests
run: |
yarn run test-node
- name: Run lint
run: |
yarn run lint
- name: Build website
run: |
cd website ; yarn install ; yarn run build
- name: Coveralls
if: matrix.node-version == 18
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}