Felipe Knorr Kuhn
9b6bbaf51c
Merge branch 'master' into knorrium/backend_unit_tests
2022-07-09 00:08:49 +02:00
Felipe Knorr Kuhn
a5e4b09e64
Set fail fast to false on the frontend jobs
2022-07-08 05:13:26 -07:00
Felipe Knorr Kuhn
1501dd23ab
Continue running CI jobs if something fails
2022-07-08 04:49:51 -07:00
Felipe Knorr Kuhn
15ab134fa4
Run the CI action on 16 and 18
2022-07-08 04:44:19 -07:00
Felipe Knorr Kuhn
3c92919359
Enable unit testing on the backend on the CI
2022-07-07 12:23:21 -07:00
wiz
d57193c269
Fix npm install commands in Dockerfiles and ops scripts
2022-07-07 18:53:17 +02:00
Felipe Knorr Kuhn
43e0fe655e
Update CI to trigger on PRs and exclude from ops activities
2022-07-06 16:29:38 -07:00
Erik Arvstedt
6288bcde51
CI: Add --no-optional
flag to prod flavor
...
This ensures that the packages build successfully even when optional
deps are unavailable.
`--no-optional` currently has no effect on the backend, because
it has no optional packages.
2022-07-06 23:43:09 +02:00
Erik Arvstedt
80476a2b61
CI: Use npm ci
instead of npm install
...
`npm ci` is recommended instead of `npm install` for automated builds.
Its main advantage is the `package-lock.json` consistency check: The
command fails if the lock file doesn't match `package.json`.
2022-07-06 23:38:06 +02:00
Erik Arvstedt
78ee671051
CI/frontend: Add missing install flag for prod
flavor
...
Also restrict linting, which requires dev packages, to the `dev`
flavor.
This makes the frontend build setup indentical to the backend.
2022-07-06 23:38:05 +02:00
Felipe Knorr Kuhn
f4389e11ba
Change the CI GHA to a matrix job
2022-07-05 05:37:17 -07:00
Felipe Knorr Kuhn
8e8609371f
Fix GHA syntax
2022-07-05 04:48:44 -07:00
Felipe Knorr Kuhn
174976ce82
Fix GHA syntax
2022-07-05 04:46:13 -07:00
Felipe Knorr Kuhn
57adce693a
Checkout the repo to dev and prod dirs to run different test targets
2022-07-05 04:42:04 -07:00
Felipe Knorr Kuhn
97686e1c87
Add working directory to the lint stage on GHA
2022-07-05 04:34:43 -07:00
Felipe Knorr Kuhn
0a747b5609
Enable running eslint on GHA
2022-07-05 04:30:56 -07:00
Felipe Knorr Kuhn
19ae01defb
Various typing and build fixes to enable CI
2022-06-27 21:28:21 -07:00