Nick Slowinski
8a44bd34e6
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
37 Zeilen
Kein EOL
641 B
YAML
37 Zeilen
Kein EOL
641 B
YAML
name: test
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: clone
|
|
image: registry.access.redhat.com/ubi9/nodejs-18:1-62.1692771036
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- mkdir ~/docs && cd ~/docs
|
|
- git clone $DRONE_REPO_LINK .
|
|
- git checkout $DRONE_COMMIT
|
|
- name: build
|
|
image: registry.access.redhat.com/ubi9/nodejs-18:1-62.1692771036
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- cd ~/docs
|
|
- npm install --only=production
|
|
- npm run build
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
volumes:
|
|
- name: cache
|
|
temp: {} |