Update .github/workflows/Continues Integration.yaml
Some checks failed
Some checks failed
This commit is contained in:
parent
333f935eee
commit
1fd55d2ed9
17
.github/workflows/Continues Integration.yaml
vendored
17
.github/workflows/Continues Integration.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user