Skip to content

Update npm dependencies to v5.8.1 #82

Update npm dependencies to v5.8.1

Update npm dependencies to v5.8.1 #82

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Check:
runs-on: ubuntu-24.04
env:
ESLINT_CACHE_DIR: /tmp/.eslintcache
steps:
- name: Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
- name: Install pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6
with:
version: latest
- name: Restore ESLint cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ${{ env.ESLINT_CACHE_DIR }}
key: eslint-${{ runner.os }}-${{ hashFiles('eslint.config.js') }}
restore-keys: |
eslint-${{ runner.os }}-${{ hashFiles('eslint.config.js') }}
eslint-${{ runner.os }}
- name: Install dependencies
run: |
pnpm install --frozen-lockfile --ignore-scripts
- name: Check codebase via Oxlint
run: |
pnpm exec oxlint --type-check --type-aware --deny-warnings src
- name: Check codebase via ESLint
run: |
pnpm exec eslint src --cache --cache-location $ESLINT_CACHE_DIR
- name: Check for formatting
run: |
pnpm exec oxfmt --check src