bump cypress timeout & add retries #641
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
setup: | |
name: Setup and Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
# See https://github.com/actions/setup-node/issues/488 | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" | |
- name: Cache yarn dependencies | |
uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: ${{steps.yarn-cache-dir-path.outputs.dir }} | |
key: yarn-cache-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }} | |
restore-keys: | | |
yarn-cache- | |
- name: Install Npm Dependencies | |
#if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: | | |
yarn set version 3.6.1 | |
HUSKY=0 yarn install --immutable | |
- name: Check TypeScript | |
run: yarn test:types | |
- name: Run Lint | |
run: yarn lint | |
- name: Check format | |
run: yarn test:format | |
- name: Jest tests | |
run: yarn test:ci | |
- name: Example tests | |
run: yarn test:examples |