Skip to content

Commit

Permalink
ci: Solve checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Apr 14, 2024
1 parent 3e5d82b commit e75f284
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: set up python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: '3.10'

- name: setup poetry and install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: set up python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.10
python-version: '3.10'

- name: setup poetry and install dependencies
run: |
Expand Down
29 changes: 9 additions & 20 deletions .github/workflows/frontend_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,18 @@ name: front check
on: [push, pull_request]

jobs:
build_images:
build_and_check_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Base image
uses: oven-actions/docker-run@v1
with:
image: oven/bun:1
name: frontend-base
command: bun install
working-directory: frontend
- name: Install bun
run: npm install -g bun

- name: build project
uses: oven-actions/docker-run@v1
with:
image: frontend-base
command: bun run build
working-directory: frontend
- name: Install dependencies
run: bun install
working-directory: frontend

- name: run type checking
uses: oven-actions/docker-run@v1
with:
image: frontend-base
command: bun run check
working-directory: frontend
- name: Build frontend
run: bun run build
working-directory: frontend

0 comments on commit e75f284

Please sign in to comment.