Skip to content

feat: remove SvelteQueryDevTools from prod bundle #1112

feat: remove SvelteQueryDevTools from prod bundle

feat: remove SvelteQueryDevTools from prod bundle #1112

Workflow file for this run

name: Test Frontend Build
on:
push:
branches: ['main']
paths:
- 'src/frontend/**'
- '.github/workflows/**'
pull_request:
branches: ['main']
paths:
- 'src/frontend/**'
- '.github/workflows/**'
workflow_dispatch:
release:
types: [published]
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest,ubuntu-24.04-arm, windows-11-arm, windows-latest, macos-latest]
node-version: [latest]
defaults:
run:
working-directory: ./src/frontend
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
- name: Inject Version
run: python scripts/inject_version.py
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: src/frontend/package-lock.json
- name: Install dependencies
run: npm i
- name: Build (Node adapter)
run: npm run build
env:
NODE_OPTIONS: --max-old-space-size=4096