Skip to content

Update: bump @types/node from 20.5.1 to 20.5.9 #613

Update: bump @types/node from 20.5.1 to 20.5.9

Update: bump @types/node from 20.5.1 to 20.5.9 #613

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Get npm cache directory
id: npm-cache
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Check npm cache
uses: actions/cache@v3
with:
path: |
${{ steps.npm-cache.outputs.dir }}
key: npm-16.x-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint -- -- --max-warnings 0