1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00
Simple-Stock-Bot/.gitlab-ci.yml
2023-11-30 21:53:06 -07:00

22 lines
439 B
YAML

stages:
- lint
- build_site
- deploy
ruff:
stage: lint
image: python:3.11-slim
script:
- pip3 install ruff
- ruff . --output-format gitlab; ruff format . --diff
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