epic: first try at adding a backend

This commit is contained in:
2023-10-27 12:14:12 +02:00
parent 0a5c6c5618
commit 9a5b467ab0
114 changed files with 2167 additions and 35 deletions
+5 -4
View File
@@ -22,17 +22,17 @@ jobs:
with:
key: npm-${{ hashFiles('./frontend/yarn.lock') }}
path: |
./frontend/node_modules
./Kemkas.Web/frontend/node_modules
restore-keys: |
npm-${{ hashFiles('./frontend/yarn.lock') }}
npm-
- name: Yarn Install
run: |
cd ./frontend
cd ./Kemkas.Web/frontend
yarn install --frozen-lockfiles
- name: Yarn Test
run: |
cd ./frontend
cd ./Kemkas.Web/frontend
./compile-less.sh
yarn test
yarn build
@@ -51,7 +51,8 @@ jobs:
run: doctl registry login --expiry-seconds 1200
- uses: docker/build-push-action@v5
with:
context: frontend/
context: .
file: Kemkas.Web/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
push: false