Skip to content

feat: Move ENABLE_CONFIRMATION_REDESIGN feature flag to the developer settings page #43608

feat: Move ENABLE_CONFIRMATION_REDESIGN feature flag to the developer settings page

feat: Move ENABLE_CONFIRMATION_REDESIGN feature flag to the developer settings page #43608

name: Fitness Functions CI
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: corepack enable
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: yarn --immutable
- name: Run fitness functions
env:
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: |
# The following command generates a diff of changes between the common
# ancestor of $BASE_REF and HEAD, and the current commit (HEAD), for
# files in the current directory and its subdirectories. The output is
# then saved to a file called "diff".
git diff "$(git merge-base "origin/$BASE_REF" HEAD)" HEAD -- . > ./diff
npm run fitness-functions -- "ci" "./diff"