Skip to content

feat(PLT-2900): migrate PR workflow to centralized reusable workflows #310

feat(PLT-2900): migrate PR workflow to centralized reusable workflows

feat(PLT-2900): migrate PR workflow to centralized reusable workflows #310

Workflow file for this run

name: Pull Request (Consolidated)
concurrency:
group: pr-${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
jobs:
pr-workflow:
uses: Typeform/.github/.github/workflows/frontend-pr-workflow.yml@v1
with:
app-name: 'embed'
node-version: '24'
use-asdf: false
cache-mode: 'full'
runner: '["ubuntu-latest"]'
build-command: 'yarn build'
clean-command: 'yarn clean'
run-linting: true
lint-command: 'yarn lint'
run-unit-tests: true
unit-test-command: 'yarn test:coverage'
run-sonarcloud: true
run-graphql-persisted-operations: false
run-deep-purple: false
run-cypress-functional: true
cypress-functional-command: 'yarn test:functional'
cypress-functional-start: ''
cypress-functional-wait-on: ''
cypress-runner: '["ubuntu-latest"]'
cypress-timeout: 20
deploy-preview: true
deploy-command: 'yarn release:preview'
build-output-dir: 'packages/embed/build'
cdn-bucket: 'typeform-public-assets/embed'
cloudfront-dist: 'E3IUO95IYL1RI3'
cdn-url: 'https://embed.typeform.com'
jarvis-datadog-enabled: true
jarvis-datadog-service: 'embed'
jarvis-datadog-env: 'staging'
build-timeout: 15
test-timeout: 30
deploy-timeout: 10
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SONAR_CLOUD_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }}
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY_FRONTEND_METRICS }}