build(deps-dev): bump cypress from 13.13.0 to 13.13.1 #637
Workflow file for this run
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: CI Build | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
# Cache dependencies | |
- name: Cache Dependencies | |
uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
**/node_modules | |
key: yarn-${{ hashFiles('**/package.json', 'yarn.lock') }} | |
# Install project dependencies | |
- name: Install Dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: yarn | |
- uses: bahmutov/npm-install@v1 | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
# confirm there is no Cypress installed | |
- run: yarn cypress cache path | |
# should return empty list of installed versions | |
- run: yarn cypress cache list | |
# restore / cache the binary ourselves on Linux | |
# see https://github.com/actions/cache | |
- name: Cache Cypress | |
id: cache-cypress | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/Cypress | |
key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} | |
# now let's install Cypress binary | |
- run: yarn cypress install | |
- run: yarn cypress cache list | |
- name: Cypress - Chrome | |
run: yarn test:e2e --browser chrome --headless | |
- name: Cypress - Firefox | |
run: yarn test:e2e --browser firefox --headless | |
automerge: | |
needs: [test] | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: fastify/[email protected] | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} |