Update .github/workflows/Continues Integration.yaml
Some checks failed
Some checks failed
This commit is contained in:
parent
db9d674c79
commit
12b89dbb1a
9
.github/workflows/Continues Integration.yaml
vendored
9
.github/workflows/Continues Integration.yaml
vendored
@ -4,7 +4,10 @@ on: [push, workflow_dispatch]
|
|||||||
jobs:
|
jobs:
|
||||||
dependencies:
|
dependencies:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
container: node:latest
|
container:
|
||||||
|
image: node:latest
|
||||||
|
volumes:
|
||||||
|
- /mnt/swarm/gitea/runner/cache:/cache
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -12,7 +15,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- run: ls
|
|
||||||
|
- run: mv node_modules /cache/
|
||||||
|
|
||||||
build-dev:
|
build-dev:
|
||||||
name: Build
|
name: Build
|
||||||
@ -64,7 +68,6 @@ jobs:
|
|||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Build docker image
|
name: Build docker image
|
||||||
needs: build-prod
|
|
||||||
container: docker
|
container: docker
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user