Skip to content

Fix Paraglide locale links to use resolve #2797

Fix Paraglide locale links to use resolve

Fix Paraglide locale links to use resolve #2797

Triggered via pull request March 17, 2026 00:50
Status Failure
Total duration 5m 29s
Artifacts

ci.yml

on: pull_request
Matrix: test
preview-release
23s
preview-release
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 6 warnings, and 1 notice
test (macOS-latest)
Process completed with exit code 1.
[cli] tests/cli.ts > cli > should create a new project with name 'create-with-all-addons': packages/sv/src/cli/tests/cli.ts#L116
Error: Snapshot `cli > should create a new project with name 'create-with-all-addons' > file "src/routes/+layout.svelte" does not match snapshot 1` mismatched - Expected + Received @@ -1,9 +1,9 @@ <script lang="ts"> - import { resolve } from '$app/paths'; import { page } from '$app/state'; import { locales, localizeHref } from '$lib/paraglide/runtime'; + import { resolve } from '$app/paths'; import './layout.css'; import favicon from '$lib/assets/favicon.svg'; let { children } = $props(); </script> @@ -11,9 +11,11 @@ <svelte:head><link rel="icon" href={favicon} /></svelte:head> {@render children()} <div style="display:none"> {#each locales as locale} - <a href={resolve(localizeHref(page.url.pathname, { locale }))}>{locale}</a> + <a + href={resolve(localizeHref(page.url.pathname, { locale }))} + >{locale}</a> {/each} </div> ❯ tests/cli.ts:116:5
test (windows-latest)
The strategy configuration was canceled because "test.macOS-latest" failed
test (windows-latest)
The operation was canceled.
test (ubuntu-latest)
The strategy configuration was canceled because "test.macOS-latest" failed
test (ubuntu-latest)
The operation was canceled.
check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
preview-release
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macOS-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
preview-release
{ "workflowData": { "owner": "sveltejs", "repo": "cli", "sha": "c157e9baba714866f53280c26d9472d3166035d0", "ref": "990" }, "key": "YnV5o6cbhs", "runId": 23173097224, "webhookDebug": { "action": "requested", "head_branch": "codex/fix-paraglide-resolve-links", "head_repository_full_name": "samuelstroschein/svelte-cli", "full_name": "sveltejs/cli", "isPullRequest": true, "prNumber": 990, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "samuelstroschein/svelte-cli:codex/fix-paraglide-resolve-links", "oldPrDataHash": "FO20uOLcEn", "lookupKey": "samuelstroschein/svelte-cli:codex/fix-paraglide-resolve-links", "data": { "owner": "sveltejs", "repo": "cli", "sha": "c157e9baba714866f53280c26d9472d3166035d0", "ref": "990" } } }