Skip to content

Commit

Permalink
Merge branch 'main' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Luscha committed Jan 8, 2025
2 parents 29fcbce + fc5f813 commit 8dec228
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/wcstore-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,39 +47,6 @@ jobs:
working-directory: ./backend/delivery-service/infrastructure/docker
docker-compose-file: docker-compose.local-wcs.yml

build-frontend:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
concurrency: build-frontend
env:
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}-local-wcs-frontend
DOCKER_TAG: latest

steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2

- name: Setup node and yarn
uses: actions/setup-node@v2
with:
node-version: '14.x'
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock

- name: Build
run: |
yarn install
yarn run build
working-directory: frontend

- name: Build and push images
uses: noi-techpark/github-actions/docker-build-and-push@v2
with:
docker-username: ${{ github.actor }}
docker-password: ${{ secrets.GITHUB_TOKEN }}
working-directory: frontend/docker
docker-compose-file: docker-compose.local-wcs.yml

build-cli:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/prod'
Expand Down
7 changes: 7 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ Adjust the baseURL to where the API is running. The API is provided by "data-ser

We use [docker-compose](https://docs.docker.com/compose/) for local development.

Before starting the frontend using docker-compose it is necessary to build the application on **Node 14.\*** using:

```bash
yarn install
yarn generate
```

```bash
# Change into directory
$ cd odh-web-components-store/frontend/
Expand Down

0 comments on commit 8dec228

Please sign in to comment.