Skip to content

build: ignores json files in packaging #290

build: ignores json files in packaging

build: ignores json files in packaging #290

Triggered via pull request January 5, 2025 18:30
Status Failure
Total duration 59s
Artifacts 2

pr-checks.yml

on: pull_request
check_translations
29s
check_translations
run_tests
20s
run_tests
test_package
42s
test_package
commitlint
19s
commitlint
Passing PR Checks
0s
Passing PR Checks
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 6 warnings, and 1 notice
test_package
Unhandled error: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/RPGLootFeed/RPGLootFeed/.scripts/post-pkg-comment.js from /home/runner/work/_actions/actions/github-script/v7/dist/index.js not supported. post-pkg-comment.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules. Instead either rename post-pkg-comment.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /home/runner/work/RPGLootFeed/RPGLootFeed/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
Passing PR Checks
Process completed with exit code 1.
commitlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run_tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run_tests
No files were found with the provided path: luacov-html/. No artifacts will be uploaded.
check_translations
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test_package
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Passing PR Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
run_tests
gh-actions-lua: Cache restored: lua:5.3.5:linux:x64:

Artifacts

Produced during runtime
Name Size
pr-pkg
244 KB
pr-pkg-nolib
110 KB