Browse Source

chore(github-action): trigger cypress test only on nc-gui change

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/693/head
Pranav C 3 years ago
parent
commit
29b245405b
  1. 8
      .github/workflows/ci-cd.yml

8
.github/workflows/ci-cd.yml

@ -19,12 +19,12 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
# - name: Check for update - name: Check for update
# run: | run: |
# echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep nc-gui) = nc-gui ]] && echo 'OK')" >> $GITHUB_ENV echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep nc-gui) = nc-gui ]] && echo 'OK')" >> $GITHUB_ENV
- name: Cypress run - name: Cypress run
# if: ${{ env.CHANGED == 'OK' }} if: ${{ env.CHANGED == 'OK' }}
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
start: | start: |

Loading…
Cancel
Save