Skip to content

Bump dotenv from 16.4.5 to 16.4.6 in /authorisation-adjustment-example #66

Bump dotenv from 16.4.5 to 16.4.6 in /authorisation-adjustment-example

Bump dotenv from 16.4.5 to 16.4.6 in /authorisation-adjustment-example #66

name: E2E Authorisation Adjustment
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'authorisation-adjustment-example/**'
pull_request:
branches: [ main ]
paths:
- 'authorisation-adjustment-example/**'
jobs:
authorisation-adjustment:
runs-on: ubuntu-latest
steps:
- name: Checkout authorisation-adjustment-example
uses: actions/checkout@v4
- name: Build authorisation-adjustment-example image
run: docker build -t authorisation-adjustment-example-image:latest authorisation-adjustment-example
- name: Start authorisation-adjustment-example container
run: docker run --rm -d --name authorisation-adjustment-example-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 }} authorisation-adjustment-example-image:latest
- name: Run testing suite against authorisation-adjustment-example-image
run: docker run --rm --name adyen-testing-suite -e PLAYWRIGHT_FOLDERNAME=authorisation-adjustment -e ADYEN_HMAC_KEY=${{ secrets.ADYEN_HMAC_KEY }} --network host ghcr.io/adyen-examples/adyen-testing-suite:main