Skip to content

chore: maybe fix ci #386

chore: maybe fix ci

chore: maybe fix ci #386

Triggered via push June 28, 2024 04:07
Status Failure
Total duration 1m 50s
Artifacts

test.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

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/