Skip to content

Commit

Permalink
#1040: Fixed asset building setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Mar 26, 2024
1 parent 5815419 commit a43dd4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ jobs:
run: docker network create serviceplatformen_organisation_api_app

- name: Install build dependencies
run: docker compose run --rm node yarn --cwd /app/web/themes/custom/os2forms_selvbetjening_theme install
run: docker compose run --rm node yarn --cwd web/themes/custom/os2forms_selvbetjening_theme install

- name: Check coding standards
run: docker compose run --rm node yarn --cwd /app/web/themes/custom/os2forms_selvbetjening_theme check-coding-standards
run: docker compose run --rm node yarn --cwd web/themes/custom/os2forms_selvbetjening_theme check-coding-standards

check-custom-theme-assets:
name: Check custom theme assets are up to date
Expand All @@ -151,10 +151,10 @@ jobs:
run: docker network create serviceplatformen_organisation_api_app

- name: Install build dependencies
run: docker compose run --rm node yarn --cwd /app/web/themes/custom/os2forms_selvbetjening_theme install
run: docker compose run --rm node yarn --cwd web/themes/custom/os2forms_selvbetjening_theme install

- name: Build theme assets
run: docker compose run --rm node yarn --cwd /app/web/themes/custom/os2forms_selvbetjening_theme build
run: docker compose run --rm node yarn --cwd web/themes/custom/os2forms_selvbetjening_theme build

- name: Check for changes in built css
run: git diff --diff-filter=ACMRT --exit-code web/themes/custom/os2forms_selvbetjening_theme/build
Expand Down
1 change: 1 addition & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
- app
volumes:
- .:/app:delegated
working_dir: /app

idp-admin:
image: ghcr.io/soluto/oidc-server-mock:latest
Expand Down

0 comments on commit a43dd4a

Please sign in to comment.