-
Notifications
You must be signed in to change notification settings - Fork 18
33 lines (31 loc) · 735 Bytes
/
Copy pathtest.yml
File metadata and controls
33 lines (31 loc) · 735 Bytes
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
name: Test
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
node: [12, 14]
env:
CI: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn - install & build
run: |
yarn
yarn run build-prod
yarn run compile-test
- name: Lint
run: |
yarn run lint
- name: Run headless tests
uses: GabrielBB/xvfb-action@v1.0
with:
run: npm run test