Merge pull request #1598 from lumi-tip/development-lumi-7672 #3624
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: Cypress Test | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
cypress-test: | ||
name: Test with Server | ||
runs-on: ubuntu-latest | ||
env: # environment variable | ||
EXAMPLE_API: https://my-api-cypress.herokuapp.com/v1 | ||
#NOTE: Disabling the test until we can get the private token on github actions on each external PR | ||
# # strategy: | ||
# # matrix: | ||
# # node-version: [14.x] | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# - name: Running Tests | ||
# # Install NPM dependencies, cache them correctly | ||
# uses: cypress-io/[email protected] | ||
# with: | ||
# build: npm run build | ||
# start: npm start | ||
# browser: electron | ||
# wait-on-timeout: 1000 | ||
# config: baseUrl=http://localhost:3080 |