2022-11-22 20:33:04 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: lint
|
|
|
|
image: node:18
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run lint
|
|
|
|
- name: build
|
|
|
|
image: node:18
|
2022-11-22 20:36:59 +01:00
|
|
|
environment:
|
|
|
|
NODE_OPTIONS: '--openssl-legacy-provider'
|
2022-11-22 20:33:04 +01:00
|
|
|
commands:
|
|
|
|
- npm run build
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: deploy
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: node:18
|
2022-11-22 20:36:59 +01:00
|
|
|
environment:
|
|
|
|
NODE_OPTIONS: '--openssl-legacy-provider'
|
2022-11-22 20:33:04 +01:00
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build
|
|
|
|
---
|
|
|
|
kind: signature
|
2022-11-22 20:36:59 +01:00
|
|
|
hmac: 1379c171ca346c7f99acfcf60800ce1776d2341b34a1023c5862b79b13606703
|
2022-11-22 20:33:04 +01:00
|
|
|
|
|
|
|
...
|