This repository has been archived on 2025-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
casino/.gitea/workflows/ci.yml

44 lines
897 B
YAML
Raw Normal View History

2025-02-12 11:11:35 +01:00
name: CI
on:
pull_request:
jobs:
2025-02-12 11:33:32 +01:00
prettier:
name: prettier
runs-on: vps-4
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: |
cd frontend
bun install
- name: Run prettier
run: |
cd frontend
bun run format:check
2025-02-12 11:11:35 +01:00
test-build:
name: test-build
runs-on: vps-4
container:
image: catthehacker/ubuntu:act-latest
2025-02-12 11:11:35 +01:00
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: |
cd frontend
bun install
- name: Test build
run: |
cd frontend
bun run build