mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
53 lines
798 B
YAML
53 lines
798 B
YAML
---
|
|
kind: pipeline
|
|
name: amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
|
|
- name: yarn
|
|
image: node:17-alpine
|
|
commands:
|
|
- yarn
|
|
|
|
- name: yarn lint
|
|
image: node:17-alpine
|
|
commands:
|
|
- yarn lint
|
|
|
|
- name: npm publish
|
|
image: node:17-alpine
|
|
commands:
|
|
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc
|
|
- echo "email = $NPM_EMAIL" >> ~/.npmrc
|
|
- npm publish
|
|
environment:
|
|
NPM_AUTH_TOKEN:
|
|
from_secret: npm_token
|
|
NPM_EMAIL: tyhou13@gmx.com
|
|
when:
|
|
ref:
|
|
- refs/tags/*
|
|
|
|
---
|
|
kind: pipeline
|
|
name: arm64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
|
|
- name: yarn
|
|
image: node:17-alpine
|
|
commands:
|
|
- yarn
|
|
|
|
- name: yarn lint
|
|
image: node:17-alpine
|
|
commands:
|
|
- yarn lint
|