Initial Github Action

This commit is contained in:
Matteo Pagliazzi 2019-09-20 23:50:48 +02:00 committed by GitHub
parent d93d295d9f
commit b4ee784cf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
.github/workflows/nodejs.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [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 and test
run: |
npm install
npm test
env:
CI: true