fix drone config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2020-08-07 08:13:15 +02:00
parent 8dd4288631
commit e3c1a126ba

View File

@ -3,18 +3,12 @@ name: default
steps: steps:
- name: setup - name: setup
image: node:lts-alpine image: registry:5000/node-build
commands: commands:
- apk add --no-cache curl
- yarn - yarn
- curl https://git.scode.ovh/Timo/standard/raw/branch/master/ci.js > ci.js - curl https://git.scode.ovh/Timo/standard/raw/branch/master/ci.js > ci.js
- name: build - name: build
image: node:lts-alpine image: registry:5000/node-build
environment:
TOKEN:
from_secret: npm_token
commands: commands:
- echo "$TOKEN" > ~/.npmrc
- npm i -g typescript
- node ci.js - node ci.js