MAJOR CHANGE: Refactor repository #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: front check | |
on: [push, pull_request] | |
jobs: | |
build_images: | |
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: build project | |
uses: oven-actions/docker-run@v1 | |
with: | |
image: frontend-base | |
command: bun run build | |
working-directory: frontend | |
- name: run type checking | |
uses: oven-actions/docker-run@v1 | |
with: | |
image: frontend-base | |
command: bun run check | |
working-directory: frontend |