Builds the new docs site to verify it doesn't fail. This will prevent us from accidentally breaking it.
Post-build of everything, the second new job will verify the git tree doesn't contain any uncommitted changes. This will catch cases where we forget to commit generated files, such as package-lock.json or the new docs site prop files.
I also fixed npm run build in the new site package. npm run dev worked, but when we run build it produces a production bundle and checks for both typescript and vite errors.
Motivations
This PR adds 2 new jobs:
package-lock.json
or the new docs site prop files.I also fixed
npm run build
in the new site package.npm run dev
worked, but when we runbuild
it produces a production bundle and checks for both typescript and vite errors.Changes
Added
Changed
Removed
Fixed
npm run build
)npm run build
)Testing
CI passes this PR, the jobs are working as expected. You can view the latest runs here:
To test the build commands work locally: