Skip to content

Commit

Permalink
chore: add github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Mar 8, 2020
1 parent 9be0dae commit 843677e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/github-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Github CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.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: git fetch --unshallow || true
- run: yarn install --frozen-lockfile
- run: npm run build
- run: npm run lint
- run: npm run test
env:
CI: true
2 changes: 1 addition & 1 deletion spec/karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function (karma) {
}
}

if (!process.env.APPVEYOR) {
if (process.env.TRAVIS) {
config.browsers.push('Firefox')
}

Expand Down

0 comments on commit 843677e

Please sign in to comment.