Skip to content

Merge next branch #5141

Merge next branch

Merge next branch #5141

Workflow file for this run

name: ci
on:
push:
branches: [master, next]
paths-ignore: ["**.md"]
pull_request: {}
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run test --coverage-reporter=lcov --coverage-reporter=text
- name: Report coverage
if: ${{ github.repository_owner == 'maxmilton' }}
uses: qltysh/qlty-action/coverage@a19242102d17e497f437d7466aa01b528537e899 # v2
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: coverage/lcov.info
e2e:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun playwright install chromium
- run: bun run build
- run: bun run test:e2e --reporter=github,html
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run lint