Skip to content

Merge remote-tracking branch 'origin/main' #3

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #3

Triggered via push January 8, 2025 11:02
Status Failure
Total duration 25s
Artifacts

ci-testing.yml

on: push
Vitest Test
17s
Vitest Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
tests/astroIntegration.test.ts > Astro GhostCMS Loader Tests: package/tests/astroIntegration.test.ts#L10
GenerateContentTypesError: `astro sync` command failed to generate content collection types: Failed to resolve entry for package "astro-ghostcms-loader". The package may have incorrect main/module/exports specified in its package.json. ❯ syncContentCollections ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/astro/dist/core/sync/index.js:204:11 ❯ syncInternal ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/astro/dist/core/sync/index.js:81:5 ❯ AstroBuilder.setup ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/astro/dist/core/build/index.js:97:5 ❯ AstroBuilder.run ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/astro/dist/core/build/index.js:177:23 ❯ build ../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/astro/dist/core/build/index.js:44:3 ❯ tests/astroIntegration.test.ts:10:3 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { loc: { file: '/home/runner/work/ghostcms-loader/ghostcms-loader/package/tests/fixtures/astro/src/content.config.ts', line: 1, column: 41 }, title: 'Failed to generate content types.', hint: 'This error is often caused by a syntax error inside your content, or your content configuration file. Check your src/content.config.ts file for typos.', frame: undefined, setLocation: 'Function<setLocation>', setName: 'Function<setName>', setMessage: 'Function<setMessage>', setHint: 'Function<setHint>', setFrame: 'Function<setFrame>' } Caused by: Caused by: Error: Failed to resolve entry for package "astro-ghostcms-loader". The package may have incorrect main/module/exports specified in its package.json. 1 | import { GhostCMSLoaderCollection } from "astro-ghostcms-loader"; | ^ 2 | export const collections = { 3 | ...GhostCMSLoaderCollection({
Vitest Test
Process completed with exit code 1.
Vitest Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636