Last active
December 27, 2022 21:57
-
-
Save cakeinpanic/1cadb675de590aca016c788d957da080 to your computer and use it in GitHub Desktop.
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: 'On push' | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
jobs: | |
cypress-test-on-docker: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{github.ref_name != 'master'}} | |
container: cypress/included:9.2.0 | |
strategy: | |
fail-fast: false | |
matrix: | |
containers: [ 1, 2, 3, 4 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare node env | |
uses: ./.github/actions/prepare-node-env | |
with: | |
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }} | |
JFROG_PASSWORD: ${{ secrets.JFROG_PASSWORD }} | |
JFROG_USER: ${{ secrets.JFROG_USER }} | |
cache_name: 'cy-cache-name' | |
- name: 'install' | |
run: npm i --no-optional --no-audit | |
- name: 'cypress test' | |
run: nx run angular-sandbox-e2e:e2e -- --watch --record -- --parallel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment