Create onpush.yml

master
JFH 2021-05-09 20:09:05 +02:00
parent b2c67080ee
commit e1187542b8
1 changed files with 20 additions and 0 deletions

20
.github/workflows/onpush.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Node CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: npm install, test and lint
run: |
npm ci
npm run lint
npm run test