parent
591b885ae2
commit
a8a2283dfd
@ -0,0 +1,45 @@ |
||||
--- |
||||
kind: pipeline |
||||
type: docker |
||||
name: node16 |
||||
|
||||
steps: |
||||
- name: install-deps |
||||
image: node:16 |
||||
commands: |
||||
- npm install |
||||
|
||||
- name: lint |
||||
image: node:16 |
||||
depends_on: |
||||
- install-deps |
||||
commands: |
||||
- npm run lint |
||||
|
||||
- name: build |
||||
image: node:16 |
||||
depends_on: |
||||
- install-deps |
||||
commands: |
||||
- npm run build |
||||
|
||||
- name: export |
||||
image: node:16 |
||||
depends_on: |
||||
- build |
||||
commands: |
||||
- npm run export |
||||
|
||||
- name: publish |
||||
image: plugins/docker:latest |
||||
settings: |
||||
username: |
||||
from_secret: harbour_username |
||||
password: |
||||
from_secret: harbour_password |
||||
tags: latest |
||||
repo: registry.cloud.csclub.uwaterloo.ca/snedadah/csc-class-profile |
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,2 @@ |
||||
FROM nginx |
||||
COPY ./out /usr/share/nginx/html |
Loading…
Reference in new issue