This commit is contained in:
parent
3ac16d0b16
commit
bff56aa9d5
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sapphirecode/snippeteer",
|
||||
"version": "1.4.1",
|
||||
"version": "1.4.0",
|
||||
"description": "macros for setting up projects or project parts",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
@ -8,7 +8,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",
|
||||
"ci": "yarn --frozen-lockfile && node jenkins.js",
|
||||
"test": "echo \"no test\"",
|
||||
"compile": "tsc"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user