Closed constgen closed 2 years ago
@edmorley Can you look at build logs?
scripts/test-create-project-ci.sh
. I couldn't get the idea of this script and why it fails in this environmentThank you for working on this :-)
Windows tests fail. This is an expected known issue. The PR is open (again) to fix this #1660
The existing Travis run has no Windows testing. Whilst adding this would be great longer term, I would remove it from this PR for now, and aim for parity with the Travis config before adding more. Priority number one is getting working CI back for this repo :-)
There is a publish job on Git tag. But it is optimized for a regular NPM package, not a monorepo. We should decide are we going to use it at all and how to redesign it for a monorepo
The current Travis config doesn't support publishing, so let's remove for now. Publishing also currently requires 2FA, so would require some thought (or changes to the 2FA requirement) to automate.
Tests fail on Ubuntu with exceptions during running scripts/test-create-project-ci.sh. I couldn't get the idea of this script and why it fails in this environment
The test-create-project-ci.sh
runs a background package server using Verdaccio on localhost, so that it can publish the Neutrino monnorepo packages to that package server, and then run end-to-end tests against them using create-project. There have been strange timeout issues in the past, perhaps something needs tweaking with the Veraccio .yml config. I would recommend also trying with Yarn instead of NPM (the existing Travis config tested both) to see if the timeouts are NPM-specific or not.
Looks like all checks pass now https://github.com/constgen/neutrino-dev/actions/runs/652165277
Enable built-in GitHub CI/CD