Skip to content

fix(react): rename useIsMount & update useEffect to useIsomorphicLayoutEffect #693

fix(react): rename useIsMount & update useEffect to useIsomorphicLayoutEffect

fix(react): rename useIsMount & update useEffect to useIsomorphicLayoutEffect #693

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Check quality
runs-on: ubuntu-latest
strategy:
matrix:
command: ['lint', 'lint:attw', 'lint:pub', 'test', 'test:tsd', 'type:check']
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.5.1
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
node-version-file: '.nvmrc'
- run: pnpm install --frozen-lockfile
- run: pnpm prepack
- name: Run commands
run: pnpm ${{ matrix.command }}