-
-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (35 loc) · 815 Bytes
/
ci.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
name: Test
on:
- pull_request
- push
jobs:
Types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: tsc
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npx xo
Firefox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: tsc
- run: xvfb-run npm run test:gecko
timeout-minutes: 2
- run: echo "If tests timeout, there's likely an issue in the tests"
Chrome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: tsc
- run: xvfb-run npm run test:blink
timeout-minutes: 2
- run: echo "If tests timeout, there's likely an issue in the tests"