Skip to content

[onefetch.dev] migrate from Svelte version 4 to 5 #375

[onefetch.dev] migrate from Svelte version 4 to 5

[onefetch.dev] migrate from Svelte version 4 to 5 #375

Workflow file for this run

name: Vercel Deployment CI
on:
push:
branches: ["main"]
paths:
- "docs/vercel/**"
pull_request:
branches: [main]
paths:
- "docs/vercel/**"
jobs:
check:
name: Check Vercel Code Quality
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs/vercel
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: docs/vercel/package-lock.json
- name: Install Dependencies
run: npm ci
# NOTE Since build is automated by vercel, it's probably
# redundant to test it here, too
- name: Svelte Check
run: npm run check:svelte -- --fail-on-warnings
- name: ESLint
run: npm run check:lint
- name: Prettier
run: npm run check:prettier