Skip to content

Bump path-to-regexp and express in /checkout-example-advanced #63

Bump path-to-regexp and express in /checkout-example-advanced

Bump path-to-regexp and express in /checkout-example-advanced #63

name: E2E Checkout Advanced
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'checkout-example-advanced/**'
pull_request:
branches: [ main ]
paths:
- 'checkout-example-advanced/**'
jobs:
checkout-advanced:
runs-on: ubuntu-latest
steps:
- name: Checkout checkout-example-advanced
uses: actions/checkout@v4
- name: Build checkout-example-advanced image
run: docker build -t checkout-example-advanced-image:latest checkout-example-advanced
- name: Start checkout-example-advanced container
run: docker run --rm -d --name checkout-example-advanced-image -p 8080:8080 -e ADYEN_API_KEY="${{ secrets.ADYEN_API_KEY }}" -e ADYEN_MERCHANT_ACCOUNT=${{ secrets.ADYEN_MERCHANT_ACCOUNT }} -e ADYEN_CLIENT_KEY=${{ secrets.ADYEN_CLIENT_KEY }} -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} checkout-example-advanced-image:latest
- name: Run testing suite against checkout-example-advanced-image
run: docker run --rm --name adyen-testing-suite -e PLAYWRIGHT_FOLDERNAME=advanced-checkout -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} --network host ghcr.io/adyen-examples/adyen-testing-suite:main