Daniel Lautzenheiser f27963478a
Update lint.yml
2022-12-01 12:46:50 -05:00

35 lines
511 B
YAML

name: Lint
on:
push:
branches: [ "main" ]
paths:
- core/**
pull_request:
branches: [ "main" ]
paths:
- core/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: yarn
node-version: 16
- name: Install
working-directory: ./core
run: |
npm ci
- name: Lint
working-directory: ./core
run: |
npm run lint