From bff56aa9d513f8e3d088c00c5ce789ca7fc89ed0 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 9 Jul 2020 22:05:27 +0200 Subject: [PATCH] fix --- .drone.yml | 20 ++++++++++++++++++++ package.json | 3 +-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..64c37c4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +name: default + +steps: + - name: setup + image: node:lts-alpine + commands: + - apk add --no-cache curl + - yarn + - curl https://git.scode.ovh/Timo/standard/raw/branch/master/ci.js > ci.js + + - name: build + image: node:lts-alpine + environment: + TOKEN: + from_secret: npm_token + commands: + - echo "$TOKEN" > ~/.npmrc + - npm i -g typescript + - node ci.js diff --git a/package.json b/package.json index f007124..9c80661 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/snippeteer", - "version": "1.4.1", + "version": "1.4.0", "description": "macros for setting up projects or project parts", "main": "index.js", "bin": { @@ -8,7 +8,6 @@ }, "scripts": { "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", - "ci": "yarn --frozen-lockfile && node jenkins.js", "test": "echo \"no test\"", "compile": "tsc" },