Skip to content

add pre commit hook and lint on github action #4

add pre commit hook and lint on github action

add pre commit hook and lint on github action #4

Workflow file for this run

name: Lint
on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
env:
NODE_VERSION: 16
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Install NodeJS
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Code Linting
run: npm run lint