-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
Summary
This action failed to run on a Typescript project, with a tsconfig.json
. Received the following error:
error running commitlint
⨯ Unable to compile TypeScript:
error TS6053: File '<redacted>' not found.
TSError: ⨯ Unable to compile TypeScript:
error TS6053: File '<redacted>' not found.
at createTSError (/node_modules/ts-node/src/index.ts:859:[12])
at reportTSError (/node_modules/ts-node/src/index.ts:863:19)
...
The <redacted>
"file" is an internal TS config package (private registry).
This is the Github workflow:
name: Standards
on:
pull_request:
jobs:
commitlint:
name: Commitlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# required to get all history, not just commit that triggers current run
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
with:
configFile: commitlint.config.js
This issue appears to be related to conventional-changelog/commitlint#3256.
Note: I managed to find a workaround by downgrading to v4
of this action: wagoid/commitlint-github-action@v4
schw4rzlicht
Metadata
Metadata
Assignees
Labels
No labels