Merge remote-tracking branch 'origin/main' #3
Annotations
2 errors and 1 warning
Build and Test Packages:
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({
|
Build and Test Packages
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading