fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2020-07-09 22:05:27 +02:00
parent 3ac16d0b16
commit bff56aa9d5
2 changed files with 21 additions and 2 deletions

20
.drone.yml Normal file
View 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

View File

@ -1,6 +1,6 @@
{ {
"name": "@sapphirecode/snippeteer", "name": "@sapphirecode/snippeteer",
"version": "1.4.1", "version": "1.4.0",
"description": "macros for setting up projects or project parts", "description": "macros for setting up projects or project parts",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
@ -8,7 +8,6 @@
}, },
"scripts": { "scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",
"ci": "yarn --frozen-lockfile && node jenkins.js",
"test": "echo \"no test\"", "test": "echo \"no test\"",
"compile": "tsc" "compile": "tsc"
}, },