add ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jusax23 2023-01-23 21:28:28 +01:00
parent c923785a90
commit e07c4e3111
5 changed files with 19 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
dist dist
node_modules node_modules
test.ts ltests

View file

@ -0,0 +1,2 @@
test.ts
ltests

15
.woodpecker.yml Normal file
View file

@ -0,0 +1,15 @@
# .woodpecker.yml
platform: linux/arm64
pipeline:
build:
image: node:18-alpine
commands:
- apk add git
- npm install
- npm install https://jusax.de/git/jusax23/gitea-release.git
- mkdir build
- npm run prepublish
- ls dist
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "dist" "$${CI_COMMIT_MESSAGE}"
secrets: [ gitea_token ]

View file

@ -13,8 +13,6 @@
], ],
"private": false, "private": false,
"scripts": { "scripts": {
"build": "esbuild test.ts --bundle --outdir=dist",
"run": "npm run build && echo 'start:' && node dist/test.js",
"prepublish": "tsc" "prepublish": "tsc"
}, },
"author": "jusax23", "author": "jusax23",

1
readme.md Normal file
View file

@ -0,0 +1 @@
[![status-badge](https://ci.jusax.de/api/badges/jusax23/dblang/status.svg)](https://ci.jusax.de/jusax23/dblang)