Relax configuration requirements and add empty test case #3751
ci.yml
on: push
check
4m 57s
lint
2m 11s
visual-testing
2m 1s
fern-generate
2m 10s
test
1m 0s
check-docs-release-is-allowed
50s
Annotations
8 errors and 6 warnings
src/__test__/basic-go.test.ts > basic-go > basic-go > generate readme:
packages/generator-cli/src/__test__/testGenerateReadme.ts#L32
Error: Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/snippet.json
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.20.3
❯ makeError ../../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
❯ handlePromise ../../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
❯ src/__test__/testGenerateReadme.ts:32:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/snippet.json', command: 'node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/snippet.json', escapedCommand: 'node "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs" generate readme --readme-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/readme.json" --feature-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/features.yml" --snippets "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/basic-go/snippet.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'node:internal/modules/cjs/loader:1143\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v18.20.3', failed: true, timedOut: false, isCanceled: false, killed: false }
|
src/__test__/cohere-go.test.ts > cohere-go > cohere-go > generate readme:
packages/generator-cli/src/__test__/testGenerateReadme.ts#L32
Error: Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/snippet.json
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.20.3
❯ makeError ../../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
❯ handlePromise ../../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
❯ src/__test__/testGenerateReadme.ts:32:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/snippet.json', command: 'node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/snippet.json', escapedCommand: 'node "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs" generate readme --readme-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/readme.json" --feature-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/features.yml" --snippets "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/cohere-go/snippet.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'node:internal/modules/cjs/loader:1143\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v18.20.3', failed: true, timedOut: false, isCanceled: false, killed: false }
|
src/__test__/empty-go.test.ts > empty-go > empty-go > generate readme:
packages/generator-cli/src/__test__/testGenerateReadme.ts#L32
Error: Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/snippet.json
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module '/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.20.3
❯ makeError ../../node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
❯ handlePromise ../../node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
❯ src/__test__/testGenerateReadme.ts:32:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/snippet.json', command: 'node /home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs generate readme --readme-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/readme.json --feature-config /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/features.yml --snippets /home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/snippet.json', escapedCommand: 'node "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs" generate readme --readme-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/readme.json" --feature-config "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/features.yml" --snippets "/home/runner/work/fern-platform/fern-platform/packages/generator-cli/src/__test__/fixtures/empty-go/snippet.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: 'node:internal/modules/cjs/loader:1143\n throw err;\n ^\n\nError: Cannot find module \'/home/runner/work/fern-platform/fern-platform/packages/generator-cli/dist/cli.cjs\'\n at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)\n at Module._load (node:internal/modules/cjs/loader:981:27)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)\n at node:internal/main/run_main_module:28:49 {\n code: \'MODULE_NOT_FOUND\',\n requireStack: []\n}\n\nNode.js v18.20.3', failed: true, timedOut: false, isCanceled: false, killed: false }
|
test
@fern-api/generator-cli#test: command (/home/runner/work/fern-platform/fern-platform/packages/generator-cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
test
Process completed with exit code 1.
|
fern-generate
Process completed with exit code 1.
|
check
@fern-api/generator-cli#depcheck: command (/home/runner/work/fern-platform/fern-platform/packages/generator-cli) /home/runner/setup-pnpm/node_modules/.bin/pnpm run depcheck exited (255)
|
check
Process completed with exit code 255.
|
check-docs-release-is-allowed
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
visual-testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
fern-generate
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|