This commit is contained in:
parent
04aa24a75d
commit
7268ed1643
10
.drone.yml
10
.drone.yml
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user