From b8ad6b527fe31ea0e2017bcd3fec194f14b5552e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 23 Mar 2023 17:04:39 -0400 Subject: [PATCH] Adding woodpecker 1 --- .drone.yml => .woodpecker.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) rename .drone.yml => .woodpecker.yml (70%) diff --git a/.drone.yml b/.woodpecker.yml similarity index 70% rename from .drone.yml rename to .woodpecker.yml index 7c609fd..8396f8f 100644 --- a/.drone.yml +++ b/.woodpecker.yml @@ -1,24 +1,15 @@ ---- -kind: pipeline -name: amd64 - -platform: - os: linux - arch: amd64 - -steps: - - - name: yarn +pipeline: + yarn: image: node:17-alpine commands: - yarn - - name: yarn lint + yarn_lint: image: node:17-alpine commands: - yarn lint - - name: npm publish + npm_publish: image: node:17-alpine commands: - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" >> .npmrc @@ -29,5 +20,4 @@ steps: from_secret: npm_token NPM_EMAIL: tyhou13@gmx.com when: - ref: - - refs/tags/* + event: tag