Skip to content

Commit fef9395

Browse files
committed
Run browser tests in CI
1 parent 7d213a7 commit fef9395

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
11
name: CI workflow
22
on: [push, pull_request]
33
jobs:
4-
test:
4+
browsers:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v1
9+
- name: Install Dependencies
10+
run: npm install
11+
- name: Test
12+
run: npm run
13+
legacy-node:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
node-version: [6.x, 8.x, 11.x, 13.x]
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: Install Dependencies without scripts that crash on old versions
25+
run: npm install --ignore-scripts
26+
- name: Test
27+
run: npm run test
28+
node:
529
runs-on: ubuntu-latest
630
strategy:
731
matrix:
8-
node-version: [6.x, 8.x, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x]
32+
node-version: [10.x, 12.x, 14.x, 15.x]
933
steps:
1034
- uses: actions/checkout@v2
1135
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)