Build and publish app release conventionally #2
appstore-conventional-build-publish.yml
on: workflow_dispatch
build_and_publish
22s
Annotations
1 error and 1 warning
build_and_publish
Unhandled Rejection occurred. Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/actions-runner/_work/contacts/contacts/build/pre-commit.js from /home/runner/actions-runner/_work/_actions/TriPSs/conventional-changelog-action/v3/src/helpers/requireScript.js not supported.
pre-commit.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 pre-commit.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/actions-runner/_work/contacts/contacts/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
at module.exports (/home/runner/actions-runner/_work/_actions/TriPSs/conventional-changelog-action/v3/src/helpers/requireScript.js:17:12)
at /home/runner/actions-runner/_work/_actions/TriPSs/conventional-changelog-action/v3/src/index.js:181:35
|
build_and_publish
Encountered an error when evaluating display name ${{ format('Checkout server {0}', fromJSON(steps.appinfo.outputs.result).nextcloud.min-version) }}. The template is not valid. .github/workflows/appstore-conventional-build-publish.yml (Line: 100, Col: 15): Error reading JToken from JsonReader. Path '', line 0, position 0.
|