Skip to content

Commit

Permalink
Add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaMinaei committed Jun 10, 2021
1 parent 1846d0c commit 8b3f977
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions workflows/main.yml
@@ -0,0 +1,25 @@
name: Node.js CI

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [4.x, 12.x, 14.x, 15.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 install
- run: npm run compile
- run: npm test

0 comments on commit 8b3f977

Please sign in to comment.