Skip to content

Update GitHub Actions to use Node 20 (#511) #134

Update GitHub Actions to use Node 20 (#511)

Update GitHub Actions to use Node 20 (#511) #134

name: SvelteKit Lint
on:
pull_request:
paths:
- "kit/**"
- ".github/workflows/lint-svelte-kit.yml"
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm install ci
working-directory: kit
- name: Checking lint/format errors
run: npm run lint
working-directory: kit
- name: Checking type errors
run: npm run check
working-directory: kit