Kurate/.github/workflows/check.yaml

33 lines
516 B
YAML
Raw Normal View History

2022-11-23 17:51:51 +01:00
name: Check
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
cache: npm
node-version: 18
- name: Install npm deps
run: npm ci
- name: Check the build
run: npm run check
- name: Code linting
run: npm run lint