Skip to content

Commit 6369729

Browse files
authored
feat(ci): added github workflow for testing (#464)
this will be run against pull requests on next and master. this also updates karma to v6 and utilizes the new public api so we no longer have to fork a child process to avoid karma < 6's behavior of calling process.exit(#) this also increases the default timeout of the integration tests as 5 seconds was just too short for the CI to be able to properly complete. Fixes N/A
1 parent e8ad372 commit 6369729

File tree

8 files changed

+19894
-10263
lines changed

8 files changed

+19894
-10263
lines changed

.github/workflows/test.js.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: karma-webpack CI
2+
3+
on:
4+
pull_request:
5+
branches: [ next, master ]
6+
7+
jobs:
8+
test:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm test

0 commit comments

Comments
 (0)