Skip to content

build(deps): bump eslint from 8.47.0 to 8.48.0 #494

build(deps): bump eslint from 8.47.0 to 8.48.0

build(deps): bump eslint from 8.47.0 to 8.48.0 #494

Workflow file for this run

name: PR flow
on:
pull_request:
jobs:
code-quality:
name: Lint and type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check unpinned versions
run: ./.github/scripts/pin-version
- name: node modules cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ hashFiles('.nvmrc', 'yarn.lock') }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Check TypeScript types
run: yarn typecheck
tests:
name: Tests
runs-on: ubuntu-latest
needs: code-quality
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Copy .env.example
run: cp .env.example .env
- name: Build
run: yarn build
# run 3 copies of the current job in parallel
- name: Run split Cypress tests 🧪
uses: cypress-io/github-action@v5
with:
start: node cypress.server.mjs
browser: chrome
# pass the machine index and the total number
env:
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}