Skip to content

Add eslint and add lint check action (#4) #18

Add eslint and add lint check action (#4)

Add eslint and add lint check action (#4) #18

Workflow file for this run

name: main
on:
- pull_request
- push
jobs:
tests:
name: Tests on ${{matrix.node}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{matrix.node}}
- run: npm install
- run: npm test
strategy:
matrix:
node:
- lts/gallium
- lts/hydrogen
- lts/iron
- node
lint:
name: Lint and format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/iron"
- run: npm install
- run: npm run lint