Skip to content

Generate standings table automatically #106

Generate standings table automatically

Generate standings table automatically #106

Workflow file for this run

---
name: Web
on: [push, workflow_dispatch]
defaults:
run:
working-directory: ./web
env:
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
CONTENTFUL_PREVIEW_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_PREVIEW_ACCESS_TOKEN }}
jobs:
check:
name: Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
run_install: false

Check failure on line 22 in .github/workflows/web-checks.yaml

View workflow run for this annotation

GitHub Actions / Web

Invalid workflow file

The workflow is not valid. .github/workflows/web-checks.yaml (Line: 22, Col: 9): Unexpected value 'run_install' .github/workflows/web-checks.yaml (Line: 49, Col: 9): Unexpected value 'run_install'
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Check Svelte
run: pnpm run check:svelte
- name: Check Lint
run: pnpm run check:lint
- name: Check Formatting
run: pnpm run check:format
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm run build
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install
- name: Unit tests
run: pnpm run test:unit