chore: bump cypress from 9.7.0 to 12.17.3 #6586
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: Lint | |
on: push | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v3 | |
- run: git fetch origin main # needed for commitlint | |
- name: Read .nvmrc | |
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
id: nvm | |
- name: Setup Node (uses version from .nvmrc) | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.nvm.outputs.NVMRC }} | |
- name: Get Yarn cache directory path | |
run: echo ::set-output name=DIR::$(yarn cache dir) | |
id: yarn-cache | |
- name: Cache Yarn | |
uses: actions/[email protected] | |
with: | |
path: ${{ steps.yarn-cache.outputs.DIR }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install Node dependencies | |
run: yarn --frozen-lockfile --prefer-offline | |
- name: Run commitlint | |
if: github.actor != 'dependabot[bot]' # allow long commit message body | |
run: yarn lint:commit | |
- name: Run stylelint | |
run: yarn lint:style | |
- name: Run ESLint | |
run: yarn lint:es | |
- name: Run tsc (type check) | |
run: yarn lint:ts | |
- name: Run Prettier | |
run: yarn lint:prettier |