From be449fe39e3b4cde29a660a04ab3317ed074f9a8 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 27 Mar 2023 12:19:19 -0400 Subject: [PATCH] Add woodpecker (#110) * Adding woodpecker 1 * Adding woodpecker 2 * v0.17.2-rc.4 --- .drone.yml | 33 --------------------------------- .woodpecker.yml | 20 ++++++++++++++++++++ package.json | 2 +- 3 files changed, 21 insertions(+), 34 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 7c609fd..0000000 --- a/.drone.yml +++ /dev/null @@ -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/* diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..2ae7693 --- /dev/null +++ b/.woodpecker.yml @@ -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 diff --git a/package.json b/package.json index 897e124..754ba16 100644 --- a/package.json +++ b/package.json @@ -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",