Skip to content

Update lint.yml

Update lint.yml #2

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npx eslint .
- name: Run Prettier
run: npx prettier --check .
- name: Run SvelteKit check
run: npx svelte-kit sync && npx svelte-check --tsconfig ./tsconfig.json