mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
1a709d49f9
* fix(frontend): count login options inside a closure so tsc keeps their type * ci: give svelte-check a heap above node's 4GB default
31 lines
779 B
YAML
31 lines
779 B
YAML
name: check frontend build
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Change versions"]
|
|
types:
|
|
- completed
|
|
|
|
merge_group:
|
|
push:
|
|
paths:
|
|
- "frontend/**"
|
|
- ".github/workflows/frontend-check.yml"
|
|
|
|
jobs:
|
|
npm_check:
|
|
runs-on: ubicloud-standard-8
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: 24
|
|
cache: "npm"
|
|
cache-dependency-path: "frontend/package-lock.json"
|
|
- name: "npm check"
|
|
timeout-minutes: 5
|
|
env:
|
|
# svelte-check peaks past node's ~4GB default ceiling on this runner and aborts.
|
|
NODE_OPTIONS: --max-old-space-size=8192
|
|
run: cd frontend && npm ci && npm run generate-backend-client && npm run
|
|
check
|