Files
mediabunny/.github/workflows/lint.yml
T
Alexander von Studnitz 32b3007a3f Pin github actions to commit SHAs
This reduces the attack surface of supply-chain attacks and is generally a good practice.
2025-09-17 11:55:41 +02:00

32 lines
603 B
YAML

name: Lint
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Set up Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
- name: Run TypeScript
run: npm run check
- name: Run ESLint
run: npm run lint