Skip to content

Update README.md

Update README.md #3

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: lint-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Capture runner Node path
id: runner-node
run: |
echo "dir=$(dirname "$(command -v node)")" >> "$GITHUB_OUTPUT"
- uses: pnpm/action-setup@v4
with:
version: 10.28.0
- name: Restore runner Node path
run: echo "${{ steps.runner-node.outputs.dir }}" >> "$GITHUB_PATH"
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install workspace dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint and TypeScript checks
run: pnpm lint