ci: rename 'npm i' to 'frontend'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f3b6075c27
commit
1f427abbbe
|
@ -38,7 +38,7 @@ steps:
|
||||||
# run Go mod tidy prior to committing
|
# run Go mod tidy prior to committing
|
||||||
- test -z "$(git status --porcelain)"
|
- test -z "$(git status --porcelain)"
|
||||||
|
|
||||||
- name: npm i
|
- name: frontend
|
||||||
image: docker.io/immawanderer/archlinux-go:linux-amd64
|
image: docker.io/immawanderer/archlinux-go:linux-amd64
|
||||||
depends_on: [go mod tidy]
|
depends_on: [go mod tidy]
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -51,7 +51,7 @@ steps:
|
||||||
|
|
||||||
- name: go build
|
- name: go build
|
||||||
image: docker.io/immawanderer/archlinux-go:linux-amd64
|
image: docker.io/immawanderer/archlinux-go:linux-amd64
|
||||||
depends_on: [go mod tidy, npm i]
|
depends_on: [go mod tidy, frontend]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
path: /go
|
path: /go
|
||||||
|
@ -110,7 +110,7 @@ steps:
|
||||||
# run Go mod tidy prior to committing
|
# run Go mod tidy prior to committing
|
||||||
- test -z "$(git status --porcelain)"
|
- test -z "$(git status --porcelain)"
|
||||||
|
|
||||||
- name: npm i
|
- name: frontend
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.3-alpine3.17
|
||||||
depends_on: [go mod tidy]
|
depends_on: [go mod tidy]
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -123,7 +123,7 @@ steps:
|
||||||
|
|
||||||
- name: go build
|
- name: go build
|
||||||
image: docker.io/library/golang:1.20.3-alpine3.17
|
image: docker.io/library/golang:1.20.3-alpine3.17
|
||||||
depends_on: [go mod tidy, npm i]
|
depends_on: [go mod tidy, frontend]
|
||||||
volumes:
|
volumes:
|
||||||
- name: gopath
|
- name: gopath
|
||||||
path: /go
|
path: /go
|
||||||
|
|
Loading…
Reference in New Issue