Closed unity-jbasso closed 11 months ago
FYI, the workaround in the meantime is uses: stoplightio/spectral-action@v0.8.10
@danielolivaresd We're looking into this at the moment! We should have a fix soon
Meanwhile the latest tag should point to the old release now and be working as before.
The latest version should work now. @unity-jbasso @danielolivaresd
The build of the action is throwing an error
Context
Following the recent changes on the repository, the action does not build anymore.
Current Behavior
At the TS build step of the Dockerfile
tsc -p tsconfig.json
The build returns errors.Those errors can be reproduced locally running
yarn build
.Expected Behavior
The docker image builds correctly.
Possible Workaround/Solution
The regression is caused by this PR https://github.com/stoplightio/spectral-action/pull/656, likely a dependency issue. Reverting the merge commit solves the issue.
Introducing an automated test that the docker image builds could prevent this from happening.
Steps to Reproduce
Run
yarn build
OR Build docker image of the actionEnvironment