Skip to content

Commit

Permalink
chore: run test on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed Mar 14, 2020
1 parent c235622 commit 292b2bb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Node.js CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [8.x, 10.x, 12.x, 13.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
- run: npm test
env:
CI: true

0 comments on commit 292b2bb

Please sign in to comment.