ci: add CI workflow configuration file #15

Merged
jank1619 merged 9 commits from ci/pipelines into main 2025-02-12 10:41:44 +00:00
Showing only changes of commit e270b8abe5 - Show all commits

21
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,21 @@
name: CI
on:
pull_request:
jobs:
test-build:
name: test-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- uses: actions/cache@v4
with:
path: |
~/.npm
key: ${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-bun-${{ hashFiles('**/package-lock.json') }}-
- run: bun install
- run: bun run build