Skip to content

Bump @wix/ecom from 1.0.543 to 1.0.550 #579

Bump @wix/ecom from 1.0.543 to 1.0.550

Bump @wix/ecom from 1.0.543 to 1.0.550 #579

Workflow file for this run

name: Netlify E2E
on:
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
deploymentUrl:
description: 'The deployment URL to test with'
required: true
prNumber:
description: 'Pull request number (optional)'
required: false
jobs:
netlify-e2e:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install dependencies
run: yarn
- uses: ./.github/actions/setup-playwright
- name: Waiting for 200 from the Netlify Preview
if: ${{ !github.event.inputs.deploymentUrl }}
uses: jakepartusch/wait-for-netlify-action@v1.4
id: waitFor200
with:
site_name: "wix-commerce-ticketing-nextjs-templat" # TODO: change to your site name
max_timeout: 120 # 2 Minutes, depends on your build pipeline duration
- name: Set Run with URL
run: |
echo "DEPLOYMENT_URL=${{ github.event.inputs.deploymentUrl || steps.waitFor200.outputs.url }}" >> $GITHUB_ENV
- uses: ./.github/actions/run-playwright
id: runPlaywright
with:
provider: 'netlify'
githubToken: ${{ secrets.GITHUB_TOKEN }}
prNumber: ${{ github.event.inputs.prNumber || github.event.pull_request.number }}
provider-deployment-url: ${{ env.DEPLOYMENT_URL }}