Compare commits
6 commits
feature/ci
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f8b39435e | |||
| a510bfdb8c | |||
| bc266da74f | |||
| c0375db9f2 | |||
| 88188cebaa | |||
| 54f75a9853 |
1 changed files with 0 additions and 36 deletions
|
|
@ -1,36 +0,0 @@
|
|||
name: CI
|
||||
|
||||
# Vérifie chaque PR (et les push sur dev/main) : typecheck + lint + tests + build.
|
||||
# Nécessite un runner Forgejo Actions enregistré (label ubuntu-latest → image
|
||||
# avec git/curl/unzip/node, ex. ghcr.io/catthehacker/ubuntu:act-latest).
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main, dev]
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
run: |
|
||||
curl -fsSL https://bun.sh/install | bash -s "bun-v1.3.14"
|
||||
echo "$HOME/.bun/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Typecheck
|
||||
run: bun run typecheck
|
||||
|
||||
- name: Lint
|
||||
run: bun run lint
|
||||
|
||||
- name: Test
|
||||
run: bun run test
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
Loading…
Add table
Reference in a new issue