Skip to content

Commit

Permalink
ci: display dev output in groups
Browse files Browse the repository at this point in the history
  • Loading branch information
hq001 committed Dec 21, 2020
1 parent 12a6ac3 commit d75a3fe
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,29 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Cache Cypress binary
id: cache-cypress-binary
uses: actions/cache@v2
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies and verify Cypress
- name: Install dependencies
if: steps.cache-cypress-binary.outputs.cache-hit != 'true'
run: |
yarn install --frozen-lockfile
- name: Verify Cypress
run: |
npx cypress cache path
npx cypress cache list
npx cypress verify
- name: Start local dev and Cypress tests
run: yarn dev & yarn test:run
run: |
echo "::group::Yarn dev"
yarn dev
echo "::endgroup::"
yarn test:run
build:
Expand Down

0 comments on commit d75a3fe

Please sign in to comment.