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",