mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 14:56:40 +00:00
30 lines
551 B
YAML
30 lines
551 B
YAML
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
|