mirror of
https://github.com/dsec-hub/dsec-notebook.git
synced 2026-09-22 15:43:58 +00:00
37 lines
800 B
YAML
37 lines
800 B
YAML
name: Checks
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore: [main]
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Format check
|
|
run: npm run fmt:check
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Svelte check
|
|
run: npm run check
|
|
|
|
- name: Install Playwright browsers
|
|
run: npx playwright install --with-deps chromium
|
|
|
|
- name: Test
|
|
run: npm test
|