ci(gitea): migrate pipeline from GitLab to Gitea Actions
This commit is contained in:
28
.gitea/workflows/ci.yml
Normal file
28
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
|
||||
- name: Format check
|
||||
run: deno fmt --check
|
||||
|
||||
- name: Lint
|
||||
run: deno lint
|
||||
|
||||
- name: Type check
|
||||
run: deno check jetstream.ts server.ts scripts/*.ts src/migrations/init.ts
|
||||
|
||||
- name: Test
|
||||
run: deno test --allow-all --permit-no-files
|
||||
Reference in New Issue
Block a user