TypeScript boilerplate.

This commit is contained in:
Jack Hadrill
2022-01-30 17:44:50 +00:00
parent dd50811132
commit 0f2f619e96
12 changed files with 11311 additions and 2 deletions

51
.drone.yml Normal file
View File

@@ -0,0 +1,51 @@
kind: pipeline
type: docker
name: build
steps:
- name: install
image: node:lts-alpine
commands:
- npm install
- name: lint
image: node:lts-alpine
commands:
- npm run lint
depends_on:
- install
- name: test
image: node:lts-alpine
commands:
- npm run test
depends_on:
- install
- name: build
image: node:lts-alpine
commands:
- apk add zip
- npm run build
- zip -r bennc-m.zip dist/
depends_on:
- install
- name: publish
image: plugins/gitea-release
depends_on:
- lint
- test
- build
when:
event:
- tag
settings:
base_url: https://git.jacknet.io
api_key:
from_secret: gitea_token
files:
- bennc-m.zip
checksum:
- md5
- sha256