Skip to content

Main update

Main update #649

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- "**"
jobs:
deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Setup node env πŸ—
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Cache node_modules πŸ“¦
uses: actions/[email protected]
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm ci --prefer-offline --no-audit
- name: Run formatting check πŸ‘€
run: npm run format:check
- name: Run linter πŸ‘€
run: npm run lint