-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (32 loc) · 926 Bytes
/
ci.yaml
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
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: ['20.x']
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Compile TypeScript
run: npm run compile
- name: Run headless tests - specific version
uses: coactions/setup-xvfb@v1
with:
run: npm run test:minSupportVersion
- name: Run headless tests - latest version
uses: coactions/setup-xvfb@v1
with:
run: npm run test:latest
# - name: Run headless tests - legacy version
# uses: coactions/setup-xvfb@v1
# with:
# run: npm run test:legacy