chore(deps): update dependency vitest to v1 #1088
test.yml
on: pull_request
Matrix: typecheck
Lint
/
eslint
39s
Matrix: test
Annotations
8 errors and 1 warning
Lint / eslint
Process completed with exit code 1.
|
__tests__/rules.spec.ts:
packages/plugin/__tests__/rules.spec.ts#L2
Error: Cannot find module '@graphql-eslint/eslint-plugin' imported from '/home/runner/work/graphql-eslint/graphql-eslint/packages/plugin/__tests__/rules.spec.ts'.
- If you rely on tsconfig.json's "paths" to resolve modules, please install "vite-tsconfig-paths" plugin to handle module resolution.
- Make sure you don't have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors
❯ __tests__/rules.spec.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
|
Node.js v18 / GraphQL v16 / ESLint v8
@graphql-eslint/eslint-plugin#test: command (/home/runner/work/graphql-eslint/graphql-eslint/packages/plugin) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
Node.js v18 / GraphQL v16 / ESLint v8
Process completed with exit code 1.
|
Node.js v20.7 / GraphQL v16 / ESLint v8
The job was canceled because "_18_16" failed.
|
__tests__/rules.spec.ts:
packages/plugin/__tests__/rules.spec.ts#L2
Error: Cannot find module '@graphql-eslint/eslint-plugin' imported from '/home/runner/work/graphql-eslint/graphql-eslint/packages/plugin/__tests__/rules.spec.ts'.
- If you rely on tsconfig.json's "paths" to resolve modules, please install "vite-tsconfig-paths" plugin to handle module resolution.
- Make sure you don't have relative aliases in your Vitest config. Use absolute paths instead. Read more: https://vitest.dev/guide/common-errors
❯ __tests__/rules.spec.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
|
Node.js v20.7 / GraphQL v16 / ESLint v8
@graphql-eslint/eslint-plugin#test: command (/home/runner/work/graphql-eslint/graphql-eslint/packages/plugin) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
Node.js v20.7 / GraphQL v16 / ESLint v8
The operation was canceled.
|
Lint / eslint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ataylorme/eslint-annotate-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|