forked from systemjs/systemjs
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 829 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
name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
chrome: [
'latest'
]
steps:
- uses: actions/checkout@v3
- name: Setup Chomp
uses: guybedford/chomp-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
- name: Setup Chrome ${{ matrix.chrome }}
uses: browser-actions/setup-chrome@latest
with:
chrome-version: ${{ matrix.chrome }}
- name: npm install
run: npm install
- name: Chomp Test
run: chomp test
env:
CI_BROWSER: C:\hostedtoolcache\windows\chromium\${{ matrix.chrome }}\x64\chrome.exe
CI_BROWSER_FLAGS: