mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-22 19:01:27 +00:00
Add woodpecker (#110)
* Adding woodpecker 1 * Adding woodpecker 2 * v0.17.2-rc.4
This commit is contained in:
parent
de4414b877
commit
be449fe39e
3 changed files with 21 additions and 34 deletions
33
.drone.yml
33
.drone.yml
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
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/*
|
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
pipeline:
|
||||
yarn:
|
||||
image: node:17-alpine
|
||||
commands:
|
||||
- yarn
|
||||
|
||||
yarn_lint:
|
||||
image: node:17-alpine
|
||||
commands:
|
||||
- yarn lint
|
||||
|
||||
npm_publish:
|
||||
image: node:17-alpine
|
||||
commands:
|
||||
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
|
||||
- echo "email = tyhou13@gmx.com" >> ~/.npmrc
|
||||
- npm publish
|
||||
secrets: [npm_token]
|
||||
when:
|
||||
event: tag
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "lemmy-js-client",
|
||||
"version": "0.17.2-rc.3",
|
||||
"version": "0.17.2-rc.4",
|
||||
"description": "A javascript / typescript client for Lemmy",
|
||||
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
||||
"license": "AGPL-3.0",
|
||||
|
|
Loading…
Reference in a new issue