chore: maybe fix ci #386
Annotations
4 errors and 5 warnings
playground/nuxt2-vite/module.test.ts > nuxt2-vite > index html transformed correctly:
playground/nuxt2-vite/module.test.ts#L11
Error: Command failed with exit code 1: pnpm generate
[warn] [email protected] is installed but ^4.46.0 is expected
[warn] [email protected] is installed but ^10.4.1 is expected
[warn] When using `nuxt generate`, you should set `target: 'static'` in your `nuxt.config`
๐ Learn more about it on https://go.nuxtjs.dev/static-target
[fatal] Nuxt build error
ERROR in module.test.ts:18:20
TS2339: Property 'not' does not exist on type 'Assertion<string | null>'.
16 | $('style').each((i, $s) => {
17 | const html = $($s).html()
> 18 | expect(html).not.toContain('@apply')
| ^^^
19 | if (html) {
20 | expect(html).toMatchSnapshot('script-' + i)
21 | }
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ โ Nuxt Fatal Error โ
โ โ
โ Error: Nuxt build error โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
> nuxt2-webpack@ generate /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt2-vite
> nuxt generate
โELIFECYCLEโ Command failed with exit code 1.
โฏ makeError playground/nuxt2-vite/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
โฏ handlePromise playground/nuxt2-vite/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
โฏ playground/nuxt2-vite/module.test.ts:11:5
โฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏ
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm generate', command: 'pnpm generate', escapedCommand: 'pnpm generate', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '\n> nuxt2-webpack@ generate /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt2-vite\n> nuxt generate\n\nโELIFECYCLEโ Command failed with exit code 1.', stderr: '[warn] [email protected] is installed but ^4.46.0 is expected\n[warn] [email protected] is installed but ^10.4.1 is expected\n[warn] When using `nuxt generate`, you should set `target: \'static\'` in your `nuxt.config`\n ๐ Learn more about it on https://go.nuxtjs.dev/static-target\n[fatal] Nuxt build error\n ERROR in module.test.ts:18:20\n TS2339: Property \'not\' does not exist on type \'Assertion<string | null>\'.\n \u001b[0m \u001b[90m 16 |\u001b[39m $(\u001b[32m\'style\'\u001b[39m)\u001b[33m.\u001b[39meach((i\u001b[33m,\u001b[39m $s) \u001b[33m=>\u001b[39m {\n \u001b[90m 17 |\u001b[39m \u001b[36mconst\u001b[39m html \u001b[33m=\u001b[39m $($s)\u001b[33m.\u001b[39mhtml()\n \u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 18 |\u001b[39m expect(html)\u001b[33m.\u001b[39mnot\u001b[33m.\u001b[39mtoContain(\u001b[32m\'@apply\'\u001b[39m)\n \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\n \u001b[90m 19 |\u001b[39m \u001b[36mif\u001b[39m (html) {\n \u001b[90m 20 |\u001b[39m expect(html)\u001b[33m.\u001b[39mtoMatchSnapshot(\u001b[32m\'script-\'\u001b[39m \u001b[33m+\u001b[39m i)\n \u001b[90m 21 |\u001b[39m }\u001b[0m\n\n โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ\n โ โ\n โ โ Nuxt Fatal Error โ\n โ โ\n โ Error: Nuxt build error โ\n โ โ\n โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ\n', failed: true, timedOut: false, isCanceled: false, killed: false }
|
playground/nuxt2-webpack/module.test.ts > nuxt2-webpack > index html transformed correctly:
playground/nuxt2-webpack/module.test.ts#L11
Error: Command failed with exit code 1: pnpm generate
[warn] [email protected] is installed but ^4.46.0 is expected
[fatal] Nuxt build error
ERROR in module.test.ts:18:20
TS2339: Property 'not' does not exist on type 'Assertion<string | null>'.
16 | $('style').each((i, $s) => {
17 | const html = $($s).html()
> 18 | expect(html).not.toContain('@apply')
| ^^^
19 | })
20 | })
21 | })
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ โ Nuxt Fatal Error โ
โ โ
โ Error: Nuxt build error โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
> nuxt2-webpack@ generate /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt2-webpack
> nuxt generate
โELIFECYCLEโ Command failed with exit code 1.
โฏ makeError playground/nuxt2-webpack/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11
โฏ handlePromise playground/nuxt2-webpack/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:118:26
โฏ playground/nuxt2-webpack/module.test.ts:11:5
โฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏ
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm generate', command: 'pnpm generate', escapedCommand: 'pnpm generate', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '\n> nuxt2-webpack@ generate /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt2-webpack\n> nuxt generate\n\nโELIFECYCLEโ Command failed with exit code 1.', stderr: '[warn] [email protected] is installed but ^4.46.0 is expected\n[fatal] Nuxt build error\n ERROR in module.test.ts:18:20\n TS2339: Property \'not\' does not exist on type \'Assertion<string | null>\'.\n \u001b[0m \u001b[90m 16 |\u001b[39m $(\u001b[32m\'style\'\u001b[39m)\u001b[33m.\u001b[39meach((i\u001b[33m,\u001b[39m $s) \u001b[33m=>\u001b[39m {\n \u001b[90m 17 |\u001b[39m \u001b[36mconst\u001b[39m html \u001b[33m=\u001b[39m $($s)\u001b[33m.\u001b[39mhtml()\n \u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 18 |\u001b[39m expect(html)\u001b[33m.\u001b[39mnot\u001b[33m.\u001b[39mtoContain(\u001b[32m\'@apply\'\u001b[39m)\n \u001b[90m |\u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\n \u001b[90m 19 |\u001b[39m })\n \u001b[90m 20 |\u001b[39m })\n \u001b[90m 21 |\u001b[39m })\u001b[0m\n\n โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ\n โ โ\n โ โ Nuxt Fatal Error โ\n โ โ\n โ Error: Nuxt build error โ\n โ โ\n โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ\n', failed: true, timedOut: false, isCanceled: false, killed: false }
|
playground/nuxt3/nuxt3.test.ts:
playground/nuxt3/nuxt3.test.ts#L8
Error: require() of ES Module /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt3/node_modules/.pnpm/[email protected]/node_modules/execa/index.js from /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt3/nuxt3.test.ts not supported.
Instead change the require of index.js in /home/runner/work/nuxt-windicss/nuxt-windicss/playground/nuxt3/nuxt3.test.ts to a dynamic import() which is available in all CommonJS modules.
โฏ playground/nuxt3/nuxt3.test.ts:8:15
โฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏโฏ
Serialized Error: { code: 'ERR_REQUIRE_ESM' }
|
ci (18.x, ubuntu-latest)
Process completed with exit code 1.
|
ci (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ci (18.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: pnpm/[email protected], actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
ci (18.x, ubuntu-latest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (18.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
ci (18.x, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|