Skip to content

Commit

Permalink
Merge pull request #240 from abetomo/add_github_actions_yml
Browse files Browse the repository at this point in the history
ci: add .github/workflows/workflow.yml
  • Loading branch information
nelsonic authored Jun 15, 2021
2 parents 0c1643d + 3affd03 commit e1fc914
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Node CI

on: [push, pull_request]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm test

0 comments on commit e1fc914

Please sign in to comment.