forked from www/www-new
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
468 B
36 lines
468 B
2 years ago
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: node14
|
||
|
|
||
|
steps:
|
||
|
- name: install-deps
|
||
|
image: node:14
|
||
|
commands:
|
||
|
- npm install
|
||
|
|
||
|
- name: lint
|
||
|
image: node:14
|
||
|
depends_on:
|
||
|
- install-deps
|
||
|
commands:
|
||
|
- npm run lint
|
||
|
|
||
|
- name: build
|
||
|
image: node:14
|
||
|
depends_on:
|
||
|
- install-deps
|
||
|
commands:
|
||
|
- npm run build
|
||
|
|
||
|
- name: export
|
||
|
image: node:14
|
||
|
depends_on:
|
||
|
- build
|
||
|
commands:
|
||
|
- npm run export
|
||
|
|
||
|
trigger:
|
||
|
event:
|
||
|
exclude:
|
||
|
- pull_request #avoid double build on PRs
|