Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
BIL-6: e
Browse files Browse the repository at this point in the history
  • Loading branch information
hlafaille committed Jan 1, 2025
1 parent d7cf8f6 commit b8ed753
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
name: backend
path: |
./backend/target/billtracker-backend-1.0.0.jar
build_frontend:
runs-on: ubuntu-24.04
permissions:
Expand All @@ -59,6 +60,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Cache npm dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install NPM Packages
run: npm i

Expand All @@ -67,4 +76,10 @@ jobs:
with:
working_directory: ./frontend
production: npm run build -- --mode=production
develop: npm run build -- --mode=develop
develop: npm run build -- --mode=develop

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: frontend
path: build

0 comments on commit b8ed753

Please sign in to comment.