Skip to content

test: turn off ResizeObserver error #56

test: turn off ResizeObserver error

test: turn off ResizeObserver error #56

Workflow file for this run

name: Project INflow
on:
workflow_dispatch:
push:
branches: ['react-flow', 'main']
paths: [INflow/**]
pull_request:
branches: ['**']
paths: [INflow/**]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-INflow
cancel-in-progress: true
jobs:
formatter:
name: Formatter
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Run Prettier
working-directory: ./INflow
run: npm run format
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Run ESlint
working-directory: ./INflow
run: npm run lint
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Run Cypress
uses: cypress-io/github-action@v6.10.0
with:
working-directory: ./INflow
start: npm run dev
wait-on: 'http://localhost:5173'
browser: chrome
- name: Get coverage
working-directory: ./INflow
run: |
npx nyc report
echo '## Coverage' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
npx nyc report --reporter=text-summary >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY