update playwright verison #11
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: 'End-to-end certifier' | |
on: | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: The environment in which to run the job | |
default: dev | |
region: | |
description: The region in which to run the job | |
default: us-east-1 | |
package: | |
description: The package name | |
job: | |
description: The name of the job (as defined in the deployment config) | |
# TEMPORARY: Remove this trigger before merging | |
push: | |
branches: | |
- JSUI-3538-add-e2e-certifier | |
jobs: | |
test-job: | |
runs-on: ubuntu--latest | |
steps: | |
- name: Deploy JSUI beta version on Netlify | |
run: curl --request POST https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK_ID }} | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install test dependencies | |
run: | | |
cd ${{ github.workspace }}/playwright | |
npm install | |
npx playwright install --with-deps | |
- name: Run tests | |
run: | | |
cd ${{ github.workspace }}/playwright | |
npx playwright test |