mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-18 16:55:27 +00:00
Adding CI files
This commit is contained in:
parent
a59192fa0e
commit
5422f920bb
3 changed files with 18 additions and 6 deletions
13
.drone.yml
Normal file
13
.drone.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
pipeline:
|
||||||
|
lint:
|
||||||
|
image: node:${NODE_VERSION}
|
||||||
|
commands:
|
||||||
|
- npm i
|
||||||
|
- npm run lint
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
NODE_VERSION:
|
||||||
|
- "10-alpine"
|
||||||
|
- "9-alpine"
|
||||||
|
- "8.11-alpine"
|
||||||
|
- "alpine"
|
|
@ -50,7 +50,8 @@
|
||||||
"compile": "tsc -p ./",
|
"compile": "tsc -p ./",
|
||||||
"watch": "tsc -watch -p ./",
|
"watch": "tsc -watch -p ./",
|
||||||
"postinstall": "node ./node_modules/vscode/bin/install",
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
||||||
"test": "npm run compile && node ./node_modules/vscode/bin/test"
|
"test": "npm run compile && node ./node_modules/vscode/bin/test",
|
||||||
|
"lint": "tslint -c tslint.json 'src/**/*.ts'"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/mocha": "^2.2.42",
|
"@types/mocha": "^2.2.42",
|
||||||
|
|
|
@ -8,11 +8,9 @@
|
||||||
],
|
],
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
/* Strict Type-Checking Option */
|
"strict": true,
|
||||||
"strict": true, /* enable all strict type-checking options */
|
"noUnusedLocals": true,
|
||||||
/* Additional Checks */
|
"noImplicitReturns": true,
|
||||||
"noUnusedLocals": true, /* Report errors on unused locals. */
|
|
||||||
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue