From d1becabe187ca20a5f7494a016f18c31e9a514c4 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 9 Jul 2020 21:35:32 +0200 Subject: [PATCH] use npm token --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 10410f1..64c37c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,11 @@ steps: - curl https://git.scode.ovh/Timo/standard/raw/branch/master/ci.js > ci.js - name: build - image: npm-deploy + image: node:lts-alpine + environment: + TOKEN: + from_secret: npm_token commands: + - echo "$TOKEN" > ~/.npmrc - npm i -g typescript - node ci.js