Files
nage/.gitea/workflows/ci.yaml
T
Workflow config file is invalid. Please check your config file: read workflow: yaml: unmarshal errors: line 36: mapping key "run" already defined at line 35
2026-09-26 15:22:43 +02:00

42 lines
998 B
YAML

name: CI
on:
workflow_dispatch:
inputs:
run_benchmark:
description: "Run CI"
type: boolean
default: true
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-bun-deno
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: bun-${{ hashFiles('bun.lockb') }}
- run: bun install --frozen-lockfile
- run: bun run test
e2e:
runs-on: ubuntu-bun-deno
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: bun-${{ hashFiles('bun.lockb') }}
- run: bun install --frozen-lockfile
- run: bunx playwright install --with-deps
run: bunx playwright test
- uses: actions/upload-artifact@v3
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/