fix, add github action

pull/16198/head
Simon Holthausen 3 months ago
parent 45ecae4ea0
commit 105f22e967

@ -43,6 +43,23 @@ jobs:
- run: pnpm test - run: pnpm test
env: env:
CI: true CI: true
TestNoAsync:
permissions: {}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm playwright install chromium
- run: pnpm test runtime-runes
env:
CI: true
SVELTE_NO_ASYNC: true
Lint: Lint:
permissions: {} permissions: {}
runs-on: ubuntu-latest runs-on: ubuntu-latest

@ -194,7 +194,7 @@ if (typeof window !== 'undefined') {
export const fragments = /** @type {'html' | 'tree'} */ (process.env.FRAGMENTS) ?? 'html'; export const fragments = /** @type {'html' | 'tree'} */ (process.env.FRAGMENTS) ?? 'html';
export const async_mode = false; // process.env.SVELTE_NO_ASYNC !== 'true'; export const async_mode = process.env.SVELTE_NO_ASYNC !== 'true';
/** /**
* @param {any[]} logs * @param {any[]} logs

Loading…
Cancel
Save