Timo Hocker
1bac9cbca1
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
419 B
YAML
21 lines
419 B
YAML
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
|