Skip to content

feat: load dynamic configuration #361

feat: load dynamic configuration

feat: load dynamic configuration #361

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
biome:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: Run Biome
run: biome ci
tests:
name: unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Install
uses: ./.github/composite-actions/install
- name: Run tests
run: pnpm -r test
playwright:
name: e2e tests
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
test:
- 'test:e2e:production'
- 'test:e2e:development'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install
uses: ./.github/composite-actions/install
- name: Get Playwright version
id: pw
run: echo "version=$(cat apps/nextjs/package.json | jq -r '.devDependencies."@playwright/test"')" >> $GITHUB_OUTPUT
- name: Install Playwright
run: pnpx playwright@${{ steps.pw.outputs.version }} install
- name: Run tests
run: pnpm -r ${{ matrix.test }}