Skip to content

Commit

Permalink
feat(ci): added github workflow for testing (#464)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
codymikol authored Jan 21, 2021
1 parent e8ad372 commit 6369729
Show file tree
Hide file tree
Showing 8 changed files with 19,894 additions and 10,263 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: karma-webpack CI

on:
pull_request:
branches: [ next, master ]

jobs:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 11.x, 12.x, 13.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
Loading

0 comments on commit 6369729

Please sign in to comment.