Skip to content

Merge pull request #12 from lpsinger/eslint-config-gitignore #23

Merge pull request #12 from lpsinger/eslint-config-gitignore

Merge pull request #12 from lpsinger/eslint-config-gitignore #23

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: NPM Install
run: if [ -e package-lock.json ]; then npm ci; else npm i; fi
- name: Run eslint linter
run: npx eslint --max-warnings 0 .
- name: Run TypeScript compiler
run: npx tsc
- name: Run Prettier code style checks
run: npx prettier -c .