Skip to content

⬆️ chore(deps): Update all non-major dependencies (#21) #54

⬆️ chore(deps): Update all non-major dependencies (#21)

⬆️ chore(deps): Update all non-major dependencies (#21) #54

Workflow file for this run

name: Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.16.0]
permissions:
contents: read
security-events: write
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Init pnpm (latest)
uses: pnpm/action-setup@v2
with:
version: latest
- name: Use Node.js (v${{ matrix.node-version }})
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Type-checking
run: pnpm run type-check
- name: Run ESLint
run: pnpm run lint
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: packages/repository/eslint-results.sarif
category: "Repository Lib"
wait-for-processing: true