Skip to content

ci: add linter (#105) #4

ci: add linter (#105)

ci: add linter (#105) #4

Workflow file for this run

name: Linter
on:
push:
branches:
- "master"
paths:
- "lib/**"
- "test/**"
- ".github/workflows/linter.yml"
pull_request:
paths:
- "lib/**"
- "test/**"
- ".github/workflows/linter.yml"
permissions:
contents: read
jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "14.x"
- name: Install Dependencies
run: npm install
- name: Lint
run: |
npm run eslint
env:
CI: true