38 lines
719 B
YAML
38 lines
719 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- next
|
|
- 'v*'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '*.md'
|
|
|
|
# This allows a subsequently queued workflow run to interrupt previous runs
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
e2e:
|
|
uses: ./.github/workflows/playwright.yml
|
|
|
|
test:
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
|
|
needs: e2e
|
|
with:
|
|
license-check: true
|
|
lint: true
|