Set upload_pr_documentation
to run on ubuntu-22.04 (#532)
#149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |