adapt to node build image
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2020-08-04 12:46:16 +02:00
parent cc5e2c429b
commit e533f73d31

View File

@ -14,17 +14,11 @@ steps:
- name: setup - name: setup
image: node:lts-alpine image: node:lts-alpine
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
`; `;