Compare commits
No commits in common. "master" and "v0.0.2" have entirely different histories.
2 changed files with 6 additions and 3 deletions
|
@ -5,11 +5,12 @@ pipeline:
|
|||
build:
|
||||
image: node:18-alpine
|
||||
commands:
|
||||
- apk update
|
||||
- apk add git
|
||||
- npm update
|
||||
- npm install
|
||||
- mkdir build
|
||||
- npx esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outfile="build/stear.min.js"
|
||||
- npx esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --outfile="build/staer.js"
|
||||
- npm run build
|
||||
- ls build
|
||||
- npx gitea-release "https://jusax.de/git/api/v1/" "$${GITEA_TOKEN}" "$${CI_REPO}" "$${CI_COMMIT_BRANCH}" "$${CI_COMMIT_TAG}" "build" "$${CI_COMMIT_MESSAGE}"
|
||||
secrets: [ gitea_token ]
|
|
@ -9,7 +9,9 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap"
|
||||
"serveMenu": "esbuild example/menu/index.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --servedir=example/menu #--sourcemap",
|
||||
"build": "esbuild stear/main.js --jsx-factory=s --loader:.js=jsx --loader:.html=text --bundle --minify --outdir=build",
|
||||
"te": "gitea-release"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue