Create test.yml

This commit is contained in:
Dominik Korsa 2021-01-20 15:49:32 +01:00 committed by GitHub
parent 7da884d2ab
commit 80a3ced821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Test
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
lint-and-build:
name: Lint and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- run: npm ci
- run: npm run lint
- run: npm run build