Depending on what you are changing, you may need to run the build processes locally, or individual tests. The following all run within GitHub Actions when you create a pull request, but you can run them locally as well.
If you want to get a good feeling for whether a PR or CI run will pass/fail, you can run the test
command which chains most of the following together:
# run this if you want some confidence that your PR will pass
npm test
See root-level package for lint commands
See root-level package for TypeScript commands
Everything for unit-testing is located in the unit-test
folder. Jasmine configuration is in unit-test/jasmine.json
.
npm run test-unit
Everything within integration-test
is integration tests controlled by Playwright.
npm run test-int
To produce all artefacts that are used by platforms, just run the npm run build
command. This will create platform specific code within the build
folder (that is not checked in).
npm run build