Skip to content

Commit

Permalink
Merge ec05f4a into d2d56e5
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Sep 7, 2020
2 parents d2d56e5 + ec05f4a commit 17ab960
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
@@ -0,0 +1,34 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v1
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- run: npm ci
- run: npm build
- run: npm run lint
- run: npm run cover
- uses: actions/upload-artifact@v2
with:
name: dist
path: ./dist/

0 comments on commit 17ab960

Please sign in to comment.