Files
deck/.github/workflows/nodejs.yml
Julius Härtl 574c8927bf Add github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-25 10:25:13 +01:00

32 lines
527 B
YAML

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: install dependencies
run: |
npm ci
- name: build
run: |
npm run build --if-present
- name: eslint
run: |
npm run lint
env:
CI: true