1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 23:06:40 +00:00
Simple-Stock-Bot/.gitlab-ci.yml

28 lines
525 B
YAML

stages:
- lint
- build_site
- deploy
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