webiny-js
webiny-js copied to clipboard
Problem creating workflows on executing CD/CI scaffold
Version
5.29.0
Operating System
Mac OS
Browser
No response
What are the steps to reproduce this bug?
From the project folder, execute yarn webiny scaffold and select Setup CD/CI into an existing repo.
What is the expected behavior?
Github workflows created successfully.
What do you see instead?
I got this only error (all other steps worked):
Creation of GitHub Actions workflows failed with the following message: ENOENT: no such file or directory, scandir '[...]/node_modules/@webiny/cli-plugin-scaffold-ci/githubActions/files/workflows'
Here is the Stacktrace:
✘ Creation of GitHub Actions workflows failed with the following message: ENOENT: no such file or directory, scandir '[...]\node_modules\@webiny\cli-plugin-scaffold-ci\githubActions\files\workflows'
✔ Long-lived dev, staging, and prod branches created.
✘ Enabling protection for long-lived branches failed with the following message: Upgrade to GitHub Pro or make this repository public to enable this feature.
✔ Set dev as the default branch.
✘ Creation of pr, dev, staging, and prod code repository environments failed with the following message: Not Found
✔ CI/CD partially set up (total errors: 3).
Additional information
No response
Possible solution
No response