add cypress.yaml workflow #1
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
# New Project Template Cypress Workflow | ||
# | ||
# See below comments for instructions on where to update the workflow | ||
name: E2E Cypress Tests | ||
run-name: E2E Cypress Tests in ${{ inputs.browser || 'chrome' }} | ||
on: | ||
# Delete this line after initial commit to new repository | ||
push: | ||
workflow_dispatch: | ||
inputs: | ||
browser: | ||
description: "Please select a browser for test run" | ||
required: true | ||
type: choice | ||
options: | ||
- chrome | ||
- firefox | ||
- edge | ||
jobs: | ||
cypress-workflow: | ||
uses: perfectsense/delivery-qa/.github/workflows/cypress-shared-workflow.yaml@main | ||
Check failure on line 23 in .github/workflows/cypress.yaml GitHub Actions / .github/workflows/cypress.yamlInvalid workflow file
|
||
secrets: inherit | ||
with: | ||
project-name: Brightspot-Training | ||
record-key: bb15471c-0869-405f-801e-d2f523000a4b | ||
browser: ${{inputs.browser}} | ||
java-version: 11 | ||
node-version: 16.11.0 | ||
gradle-version: 8.4 | ||
cache-directories: | | ||
node_modules | ||
.gradle | ||
build | ||
web/build | ||
frontend/build | ||
core/build |