Skip to content

Commit

Permalink
Replacing Travis with Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Nov 15, 2020
1 parent e8991b7 commit 3a17d8e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: main

on: push

jobs:
build:
strategy:
matrix:
config:
- node-version: '10.0.0'
NO_LINT: 1
- node-version: '15.2.0'

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.config.node-version }}

- run: npm install
- run: npm run clean
- run: npm run lint
if: matrix.config.NO_LINT != 1
- run: npm run build
- run: npm run test
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.15.0

0 comments on commit 3a17d8e

Please sign in to comment.