Skip to content

Commit

Permalink
ci: only build docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
joonatank committed Aug 28, 2023
1 parent dff6e5a commit 4d85ba5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
# TODO run tsc also when it's not broken
build-admin-ui:
name: Build admin ui
name: Build admin ui Docker image
runs-on: ubuntu-latest
#needs: [changed-packages, install]
# TODO disabled for testing
Expand All @@ -54,10 +54,9 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run CI checks
run: |
pnpm build --filter=admin-ui...
docker build -f apps/admin-ui/Dockerfile -t tilavaraus-admin-ui .
- name: Build admin ui
run: docker build -f apps/admin-ui/Dockerfile -t tilavaraus-admin-ui .
# pnpm build --filter=admin-ui...

test-admin-ui:
name: Test admin ui
Expand Down Expand Up @@ -103,7 +102,7 @@ jobs:
# TODO run tsc also when it's not broken
build-ui:
name: Build ui
name: Build ui Docker image
runs-on: ubuntu-latest
#needs: [changed-packages, install]
# TODO disabled for testing
Expand All @@ -122,9 +121,8 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build ui
run: |
pnpm build --filter=ui...
docker build -f apps/ui/Dockerfile -t tilavaraus-ui .
run: docker build -f apps/ui/Dockerfile -t tilavaraus-ui .
#pnpm build --filter=ui...

test-ui:
name: Test ui
Expand Down

0 comments on commit 4d85ba5

Please sign in to comment.