Merge pull request #670 from alxndr/dependabot/npm_and_yarn/tough-coo… #1537
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: integrations tests | |
on: [push] | |
jobs: | |
smoke: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup node 16.13.2 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.13.2 | |
- name: Cypress integration tests | |
uses: cypress-io/[email protected] | |
with: | |
start: npm run build:serve | |
wait-on: 'http://localhost:9000' | |
wait-on-timeout: 500 # seconds = 6 mins | |
config: 'baseUrl=http://localhost:9000' | |
validation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup node 16.13.2 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.13.2 | |
- name: Cypress data validation | |
uses: cypress-io/[email protected] | |
with: | |
env: VALIDATE_ALL=true | |
spec: cypress/e2e/zz-validate-data.cy.js | |
start: npm run build:serve:9001 | |
wait-on: 'http://localhost:9001' | |
wait-on-timeout: 500 # seconds = 6 mins | |
config: 'baseUrl=http://localhost:9001' |