File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,24 @@ jobs:
4848 - name : Install dependencies
4949 run : npm i
5050
51- - name : Run docker-build
51+ - name : Run docker-build for datahub
5252 run : npx nx docker-build mel-datahub
5353
54+ - name : Run docker-build for home
55+ run : npx nx docker-build home
56+
5457 - uses : docker/login-action@v1
5558 name : Login to GitHub Container Registry
5659 with :
5760 registry : ghcr.io
5861 username : ${{ github.actor }}
5962 password : ${{ secrets.GITHUB_TOKEN }}
6063
61- - name : ' Pushing the image onto ghcr.io'
64+ - name : ' Pushing the images onto ghcr.io'
6265 if : github.ref == 'refs/heads/main'
6366 run : |
6467 docker push ghcr.io/camptocamp/mel-dataplatform/datahub:latest
68+ docker push ghcr.io/camptocamp/mel-dataplatform/home:latest
6569
6670 cypress-run :
6771 name : End-to-end tests
8690 - name : Install dependencies
8791 run : npm i
8892
89- - name : Run tests
93+ - name : Run tests for datahub
9094 run : npx nx e2e mel-datahub-e2e
9195
96+ - name : Run tests for home
97+ run : npx nx e2e home-e2e
98+
9299 agents :
93100 name : Nx Cloud - Agents
94101 uses :
nrwl/ci/.github/workflows/[email protected]
Original file line number Diff line number Diff line change 105105 "executor" : " nx:run-commands" ,
106106 "options" : {
107107 "commands" : [
108- " nx build home --base-href='/acceuil /'" ,
108+ " nx build home --base-href='/accueil /'" ,
109109 " docker build -f ./tools/docker/Dockerfile . -t ghcr.io/camptocamp/mel-dataplatform/home:latest"
110110 ],
111111 "parallel" : false
Original file line number Diff line number Diff line change 1111 "e2e:all" : " nx run-many --target=e2e" ,
1212 "e2e:datahub" : " nx e2e mel-datahub-e2e" ,
1313 "e2e:datahub-dev" : " nx e2e mel-datahub-e2e --watch" ,
14+ "e2e:home" : " nx e2e home-e2e" ,
15+ "e2e:home-dev" : " nx e2e home-e2e --watch" ,
1416 "i18n:extract" : " ngx-translate-extract -s --fi ' ' --input ./apps --output ./apps/datahub/src/assets/i18n/{en_MEL,fr_MEL}.json --clean --format json && npm run format"
1517 },
1618 "private" : true ,
You can’t perform that action at this time.
0 commit comments