51 lines
673 B
YAML
51 lines
673 B
YAML
---
|
|
kind: pipeline
|
|
name: amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
|
|
- name: yarn
|
|
image: node:14-alpine
|
|
commands:
|
|
- yarn
|
|
|
|
- name: yarn lint
|
|
image: node:14-alpine
|
|
commands:
|
|
- yarn lint
|
|
|
|
- name: npm
|
|
image: plugins/npm
|
|
settings:
|
|
username:
|
|
from_secret: npm_username
|
|
password:
|
|
from_secret: npm_password
|
|
email: tyhou13@gmx.com
|
|
when:
|
|
ref:
|
|
- refs/tags/*
|
|
|
|
---
|
|
kind: pipeline
|
|
name: arm64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
|
|
- name: yarn
|
|
image: node:14-alpine
|
|
commands:
|
|
- yarn
|
|
|
|
- name: yarn lint
|
|
image: node:14-alpine
|
|
commands:
|
|
- yarn lint
|