feat & fix: use python img for configuraing forgejo instance
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
9c05e9b9fc
commit
85db5119f8
2 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
steps:
|
steps:
|
||||||
|
setup_forgeo:
|
||||||
|
image: python
|
||||||
|
commands:
|
||||||
|
- make env.config
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: node:18
|
image: node:18
|
||||||
commands:
|
commands:
|
||||||
|
@ -6,7 +11,7 @@ steps:
|
||||||
- corepack prepare pnpm@latest-8 --activate
|
- corepack prepare pnpm@latest-8 --activate
|
||||||
- pnpm install
|
- pnpm install
|
||||||
- pnpm run lint
|
- pnpm run lint
|
||||||
- make test
|
- pnpm run test
|
||||||
- pnpm run build
|
- pnpm run build
|
||||||
- pnpm run doc
|
- pnpm run doc
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -4,6 +4,9 @@ env.up:
|
||||||
env.down:
|
env.down:
|
||||||
docker-compose -f ./docker-compose-dev-deps.yml down --remove-orphans -v
|
docker-compose -f ./docker-compose-dev-deps.yml down --remove-orphans -v
|
||||||
|
|
||||||
|
env.config:
|
||||||
|
./integration/tests.sh
|
||||||
|
|
||||||
test:
|
test:
|
||||||
./integration/tests.sh
|
./integration/tests.sh
|
||||||
pnpm run test
|
pnpm run test
|
||||||
|
|
Loading…
Reference in a new issue