Skip to content

TA page backend

TA page backend #173

Workflow file for this run

name: Website
on:
push:
branches:
- main
paths:
- Website/**
pull_request:
paths:
- Website/**
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
playwright:
uses: ./.github/workflows/playwright-test.yaml
secrets: inherit
with:
ref: ${{ github.ref }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache-dependency-path: "Website/pnpm-lock.yaml"
- name: Install dependencies
working-directory: Website/
run: pnpm install
- name: Prettier
working-directory: Website/
run: pnpm run lint:prettier
- name: ESLint
working-directory: Website/
if: success() || failure()
run: pnpm run lint:eslint
- name: svelte-check
working-directory: Website/
if: success() || failure()
run: pnpm run check