mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
upgrade CI
This commit is contained in:
parent
5002f0aa2b
commit
cb67cd9288
17
.woodpecker/commitBuild.yml
Normal file
17
.woodpecker/commitBuild.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: node:${NODE_VERSION}
|
||||||
|
commands:
|
||||||
|
- corepack enable
|
||||||
|
- yarn install
|
||||||
|
- yarn build
|
||||||
|
environment:
|
||||||
|
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
NODE_VERSION:
|
||||||
|
- 18.12.1
|
||||||
|
- 19.2.0
|
||||||
|
|
||||||
|
branches:
|
||||||
|
include: [ master, develop, feature/* ]
|
@ -1,13 +1,4 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
|
||||||
image: node:${NODE_VERSION}
|
|
||||||
commands:
|
|
||||||
- corepack enable
|
|
||||||
- yarn install
|
|
||||||
- yarn build
|
|
||||||
environment:
|
|
||||||
- DATABASE=12
|
|
||||||
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
|
|
||||||
migrate:
|
migrate:
|
||||||
image: node:19.2.0
|
image: node:19.2.0
|
||||||
commands:
|
commands:
|
||||||
@ -18,14 +9,6 @@ pipeline:
|
|||||||
environment:
|
environment:
|
||||||
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
|
- YARN_ENABLE_IMMUTABLE_INSTALLS=false
|
||||||
|
|
||||||
matrix:
|
|
||||||
NODE_VERSION:
|
|
||||||
- 18.12.1
|
|
||||||
- 19.2.0
|
|
||||||
DATABASE:
|
|
||||||
- 12
|
|
||||||
- latest
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: postgres:${DATABASE}
|
image: postgres:${DATABASE}
|
||||||
@ -34,5 +17,10 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
DATABASE:
|
||||||
|
- 12
|
||||||
|
- latest
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
include: [ master, develop, feature/* ]
|
include: [ master, develop, feature/* ]
|
11
.woodpecker/commitDocker.yml
Normal file
11
.woodpecker/commitDocker.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
pipeline:
|
||||||
|
docker-build:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
repo: codeberg.org/thatonecalculator/calckey
|
||||||
|
registry: codeberg.org
|
||||||
|
dry_run: true
|
||||||
|
output: type=oci,dest=thatonecalculator-calckey.tar
|
||||||
|
|
||||||
|
branches:
|
||||||
|
include: [ master, develop ]
|
Loading…
Reference in New Issue
Block a user