Skip to content

Commit

Permalink
chore(#1): add workflow build for backend
Browse files Browse the repository at this point in the history
closes #1
  • Loading branch information
mari1912 committed Jun 24, 2024
1 parent ac345e6 commit e4f5b4f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
28 changes: 27 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,30 @@ jobs:

- name: Run build
run: pnpm build
working-directory: ./dashboard
working-directory: ./dashboard

build-django:
if: github.event.pull_request.draft != true
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: poetry install
working-directory: ./backend

- name: Run migrations
run: poetry run python manage.py migrate --no-input
working-directory: ./backend
1 change: 0 additions & 1 deletion dashboard/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import './button.css';

interface ButtonProps {
Expand Down

0 comments on commit e4f5b4f

Please sign in to comment.