Skip to content

chore: Migrate second batch of. unit tests away from enzyme #548

chore: Migrate second batch of. unit tests away from enzyme

chore: Migrate second batch of. unit tests away from enzyme #548

name: Run Bitrise E2E Tests
on:
pull_request:
types: [ready_for_review, labeled]
env:
E2E_LABEL: 'Run Smoke E2E'
E2E_PIPELINE: 'pr_smoke_e2e_pipeline'
WORKFLOW_NAME: 'run-bitrise-e2e-tests'
jobs:
run-bitrise-e2e-tests:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install Axios
run: yarn add axios
- name: Install dependencies
run: yarn --immutable
- name: Detect if E2E label exists
id: detect-e2e-label-id
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run detect-e2e-label
- name: Run Bitrise E2E tests
if: steps.detect-e2e-label-id.outputs.shouldTriggerE2E == 'true'
env:
BITRISE_BUILD_TRIGGER_TOKEN: ${{ secrets.BITRISE_BUILD_TRIGGER_TOKEN }}
BITRISE_APP_ID: 'be69d4368ee7e86d'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run run-bitrise-e2e-tests