Skip to content

Fix lint & workflow

Fix lint & workflow #2

Workflow file for this run

name: "Lint test"
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Javascript standard lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-18-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-18-
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint:test