Skip to content

Commit

Permalink
Switch to actions v2 yml (#3)
Browse files Browse the repository at this point in the history
* Create `.github/workflows/ci.yml`
* Deletes actions v1 workflow file
  • Loading branch information
matthewferry authored Aug 27, 2019
1 parent 2b4de88 commit aa454a1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/main.workflow

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run lint
npm test
env:
CI: true

0 comments on commit aa454a1

Please sign in to comment.