mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-08-16 02:04:59 +00:00
Update links from individual bot repos to monorepo
This commit is contained in:
@@ -1,24 +1,29 @@
|
||||
stages:
|
||||
- lint
|
||||
- build
|
||||
- build_site
|
||||
- deploy
|
||||
- deploy_site
|
||||
|
||||
black:
|
||||
stage: lint
|
||||
image: registry.gitlab.com/pipeline-components/black:latest
|
||||
script:
|
||||
- black --check --verbose -- .
|
||||
|
||||
ruff:
|
||||
stage: lint
|
||||
# image: registry.gitlab.com/pipeline-components/ruff:latest
|
||||
image: python:3.11-slim
|
||||
script:
|
||||
- pip3 install ruff
|
||||
- ruff --output-format gitlab .
|
||||
|
||||
|
||||
include:
|
||||
- local: /site/.gitlab-ci.yml
|
||||
stages:
|
||||
- lint
|
||||
- build
|
||||
- build_site
|
||||
- deploy
|
||||
- deploy_site
|
||||
|
||||
black:
|
||||
stage: lint
|
||||
image: registry.gitlab.com/pipeline-components/black:latest
|
||||
script:
|
||||
- black --check --verbose -- .
|
||||
|
||||
ruff:
|
||||
stage: lint
|
||||
image: python:3.11-slim
|
||||
script:
|
||||
- pip3 install ruff
|
||||
- ruff --output-format gitlab .
|
||||
|
||||
prettier:
|
||||
stage: lint
|
||||
image: node:16-slim # Use Node.js image since prettier is a Node.js tool
|
||||
script:
|
||||
- npm install prettier
|
||||
- npx prettier --check . # Adjust the path as needed
|
||||
|
||||
include:
|
||||
- local: /site/.gitlab-ci.yml
|
||||
|
Reference in New Issue
Block a user