37 lines
665 B
YAML
37 lines
665 B
YAML
name: ESLint
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '!docs'
|
|
- '!develop'
|
|
- '!master'
|
|
- '!gh-pages'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
- '!docs'
|
|
- '!develop'
|
|
- '!master'
|
|
- '!gh-pages'
|
|
jobs:
|
|
test:
|
|
name: ESLint (Node v16)
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node v16
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Run ESLint
|
|
run: npm run lint
|
|
|
|
- name: Run TSC
|
|
run: npm run build:check
|