Add build step to CI workflow

This commit is contained in:
Nicolas Meienberger 2022-06-10 05:05:07 +00:00
parent 4d8ca0e247
commit 07061b6546
3 changed files with 8 additions and 2 deletions

View file

@ -42,10 +42,13 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build packages
run: pnpm -r build
- name: Run global tests
run: pnpm test
- name: Run tests
- name: Run linter
run: pnpm -r lint
- name: Run tests

View file

@ -9,7 +9,8 @@
"act:docker": "act --container-architecture linux/amd64 --secret-file github.secrets -j build-images",
"start:dev": "docker-compose -f docker-compose.dev.yml --env-file .env.dev up --build",
"start:rc": "docker-compose -f docker-compose.rc.yml --env-file .env up --build",
"start:prod": "docker-compose --env-file .env up --build"
"start:prod": "docker-compose --env-file .env up --build",
"build:common": "cd packages/common && npm run build"
},
"devDependencies": {
"@types/jest": "^27.5.0",

View file

@ -34,4 +34,6 @@ export const colorSchemeForCategory: Record<AppCategoriesEnum, string> = {
[AppCategoriesEnum.SECURITY]: 'yellow',
[AppCategoriesEnum.SOCIAL]: 'teal',
[AppCategoriesEnum.FEATURED]: 'pink',
[AppCategoriesEnum.DATA]: 'red',
[AppCategoriesEnum.BOOKS]: 'blue',
};