Skip to content

[web] Include flags in custom events #258

[web] Include flags in custom events

[web] Include flags in custom events #258

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:
typescript:
name: typescript
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install
uses: ./.github/composite-actions/install
- name: lint
run: pnpm -r lint
- name: type-check
run: pnpm -r type-check
- name: prettier
run: pnpm prettier -c .
- name: build
run: pnpm -r build
- name: test
run: pnpm -r test
playwright:
name: playwright
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@v3
- 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: test
run: pnpm -r ${{ matrix.test }}