Skip to content

feat: refactor with typescript to support esm and cjs both #113

feat: refactor with typescript to support esm and cjs both

feat: refactor with typescript to support esm and cjs both #113

Triggered via pull request May 29, 2024 15:41
Status Failure
Total duration 1m 5s
Artifacts

nodejs.yml

on: pull_request
Node.js  /  Setup
6s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Node.js / Test (ubuntu-latest, 16)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 22): bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
Node.js / Test (ubuntu-latest, 22)
Process completed with exit code 2.
Node.js / Test (ubuntu-latest, 18): bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 2.
Node.js / Test (ubuntu-latest, 20): bin/detect-port.ts#L8
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 2.