Skip to content

Introduce new option allowWriteFilesInBuild. #96

Introduce new option allowWriteFilesInBuild.

Introduce new option allowWriteFilesInBuild. #96

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

main.yaml

on: pull_request
install NPM deps
28s
install NPM deps
run type-check
31s
run type-check
Matrix: run test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
run test (22.x, ubuntu-latest)
Process completed with exit code 1.
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
run test (21.x, ubuntu-latest)
Process completed with exit code 1.
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
run test (20.x, ubuntu-latest)
Process completed with exit code 1.
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
Unhandled error: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.html' }
src/index.test.ts > build allowWriteFilesInBuild > has generated font of type css: src/index.test.ts#L204
AssertionError: promise rejected "Error: ENOENT: no such file or directory,… { …(4) }" instead of resolving ❯ src/index.test.ts:204:50 Caused by: Error: ENOENT: no such file or directory, access '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'access', path: '/home/runner/work/vite-svg-2-webfont/vite-svg-2-webfont/src/fixtures/webfont-test/artifacts/allowWriteFilesInBuild-test.css' }
run test (18.x, ubuntu-latest)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
dist Expired
10.1 KB