Chore/bin lookup pan length tests #2145
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E for Checkout Components | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-then-e2e: | |
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'lgtm-com[bot]' }} | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [20.12.2] | |
api-version: ["v69", "v70", "v71"] | |
# node-version: [16.x, 18.x, 19.x] | |
# Currently 18 and 19 are not supported, still keeping it | |
# as a reminder for compatibility check | |
env: | |
CHECKOUT_API_KEY: ${{secrets.ADYEN_CHECKOUT_API_KEY}} | |
MERCHANT_ACCOUNT: ${{secrets.ADYEN_CHECKOUT_MERCHANT_ACCOUNT}} | |
CLIENT_KEY: ${{secrets.ADYEN_CHECKOUT_CLIENT_KEY}} | |
CLIENT_ENV: test | |
TESTING_ENVIRONMENT: https://checkout-test.adyen.com/checkout/${{matrix.api-version}} | |
API_VERSION: ${{matrix.api-version}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Project Dependencies | |
run: yarn install | |
- name: Install Playwright Dependencies | |
working-directory: packages/e2e-playwright/ | |
run: yarn install && npx playwright install --with-deps | |
- name: Run E2E Tests | |
run: yarn test:e2e | |
- name: Archive test result artifacts | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: playwright-report-${{matrix.api-version}}-${{ github.sha }} | |
path: packages/e2e-playwright/playwright-report | |
retention-days: 5 |