Skip to content

Lint code

Lint code #4

Workflow file for this run

name: Lint code
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install and lint
run: npm ci && npm run lint