Update .github/workflows/Continues Integration.yaml
Some checks failed
Continues Integration / Install dependencies (push) Successful in 36s
Continues Integration / Build (push) Successful in 1m9s
Continues Integration / Build production (push) Successful in 1m10s
Continues Integration / Build docker image (push) Failing after 2s

This commit is contained in:
Zakary Timson 2023-08-07 13:56:44 +00:00
parent 333f935eee
commit 1fd55d2ed9

View File

@ -44,15 +44,19 @@ jobs:
with: with:
key: node_modules key: node_modules
- run: ls node_modules/@angular - name: Setup Angular
run: npm link @angular/cli
- name: Build sources - name: Compile Angular
run: npm run build:dev run: npm run build:dev
build-prod: build-prod:
name: Build production name: Build production
needs: dependencies needs: dependencies
container: node:latest container:
image: node:latest
volumes:
- /mnt/swarm/gitea/runner/cache:/cache
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -63,8 +67,11 @@ jobs:
with: with:
key: node_modules key: node_modules
- name: Build sources - name: Setup Angular
run: npm run build:prod run: npm link @angular/cli
- name: Compile Angular
run: npm run build:dev
docker: docker:
name: Build docker image name: Build docker image