mirror of
https://github.com/acid-info/Kurate.git
synced 2025-02-06 13:04:06 +00:00
33 lines
516 B
YAML
33 lines
516 B
YAML
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
|