diff --git a/.github/workflows/check_for_console_errors.yml b/.github/workflows/check_for_console_errors.yml index 1a9c4a7a4ff..fc343c7f34c 100644 --- a/.github/workflows/check_for_console_errors.yml +++ b/.github/workflows/check_for_console_errors.yml @@ -32,7 +32,7 @@ jobs: with: result-encoding: string script: | - const { consoleErrors } = require('./tasks/console-errors.js'); + const { consoleErrors } = require('./tasks/console-errors.mjs'); return await consoleErrors(); - name: Fail if console errors have been found if: ${{ steps.consoleErrors.outputs.result }}