Skip to content

Commit

Permalink
build: add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnobile committed Jul 18, 2023
1 parent fdb0b49 commit 1f4d723
Show file tree
Hide file tree
Showing 14 changed files with 3,505 additions and 13 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/builds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Builds

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
folder:
- asset-management
- b2b-portal
- compliance
- contract-management
- crm-system
- domain-specific-dashboard
- event-erp
- headless-cms
- internal-information-system
- membership-management
- order-management
- reservation-management

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies
working-directory: ./${{ matrix.folder }}
run: npm install

- name: Start engine
working-directory: ./${{ matrix.folder }}
run: npm run start-engine

- name: Build
working-directory: ./${{ matrix.folder }}
run: npm run build
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">
<a href="https://www.contember.com/" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/logo_l.svg">
<img height="220" alt="Contember Interface logo (dark or light)" src=".github/assets/logo_d.svg">
<source media="(prefers-color-scheme: dark)" srcset=".github/assets/logo_d.svg">
<img height="220" alt="Contember Interface logo (dark or light)" src=".github/assets/logo_l.svg">
</picture>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion asset-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
3,450 changes: 3,450 additions & 0 deletions asset-management/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion b2b-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion compliance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion contract-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion crm-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion domain-specific-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion event-erp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion internal-information-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion membership-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion order-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down
2 changes: 1 addition & 1 deletion reservation-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"contember": "docker-compose run --rm contember-cli",
"start": "npm run start-engine && npm run start-admin",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute --yes",
"start-engine": "docker-compose up --detach && npm run contember migrations:execute -- --yes",
"start-admin": "vite admin --port 1480 --host 0.0.0.0",
"build": "npm run build-admin && npm run build-api",
"build-admin": "tsc --project admin && vite build admin",
Expand Down

0 comments on commit 1f4d723

Please sign in to comment.