Skip to content

Commit

Permalink
Merge 6ee86d2 into 74b65c1
Browse files Browse the repository at this point in the history
  • Loading branch information
markis committed Apr 6, 2020
2 parents 74b65c1 + 6ee86d2 commit 4728687
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: npm test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 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: npm ci
- run: npm run build --if-present
- run: npm test
env:
CI: true

0 comments on commit 4728687

Please sign in to comment.