Closed DavidBuzatu-Marian closed 3 months ago
Hi @DavidBuzatu-Marian, thx for raising this issue.
To me this looks like that the action is executed in the wrong directory? Maybe that has something to do with checking out git submodules. Maybe you want to double check the CWD before the action is started (both locally as well as remotely). You can also try to configure the packagePath
option of the action to get it working for your use case. Hope that helps.
Hi @HaaLeo! Thank you for your prompt reply! You are right, there was something off with submodules. Apologies for this issue and thank you once more for the support!
Description
Action fails on step Publish to Visual Studio Marketplace when running prepublish scripts, resulting in the error:
error TS5083: Cannot read file '/home/runner/work/Jsoniq-VSCode-Extension/Jsoniq-VSCode-Extension/server_language/tsconfig.json'.
It seems suspicious to me that this fails as running the same command locally on MacOS Sonoma 14.5 (npm run vscode:prepublish
) does not provide such error. Moreover, running the action through act succeeds with publishing the extension.Expected Behavior
The extension should publish the VS Code extension.
Actual Behavior
It results in the following error:
Steps to Reproduce
An instance of such a failure can be found here. To reproduce, re-run the action.
Context