Support ESM #223
test-build-publish.yml
on: pull_request
Cache Pnpm
2m 24s
Test Build and Publish
38s
Annotations
10 errors and 4 warnings
Test Build and Publish:
libs/ansi-parser/test/encode-decode-is-inverse-in-ascii.spec.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest")' call instead.
|
Test Build and Publish:
libs/ansi-parser/test/known-sequences.spec.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest")' call instead.
|
Test Build and Publish:
libs/ansi-parser/test/leading-zeros-ignored.spec.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest")' call instead.
|
Test Build and Publish:
libs/ansi-parser/test/unknown-sequences.spec.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest")' call instead.
|
Test Build and Publish:
libs/ansi-parser/vitest.config.ts#L1
Module '"vitest/config.js"' has no exported member 'defineConfig'.
|
Test Build and Publish:
libs/ansi-parser/vitest.config.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest/config")' call instead.
|
Test Build and Publish:
libs/notios-config/vitest.config.ts#L1
Module '"vitest/config.js"' has no exported member 'defineConfig'.
|
Test Build and Publish:
libs/notios-config/vitest.config.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("vitest/config")' call instead.
|
Test Build and Publish:
src/utils/error.ts#L7
No overload matches this call.
|
Test Build and Publish
Process completed with exit code 1.
|
Cache Pnpm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Cache Pnpm
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test Build and Publish
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test Build and Publish
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|