Skip to content

useFetchEventSource: fix openWhenHidden (#127) #395

useFetchEventSource: fix openWhenHidden (#127)

useFetchEventSource: fix openWhenHidden (#127) #395

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node: [18.x]
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run build
run: cd packages/core && pnpm run build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: [18.x]
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node version to ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run unit tests
run: cd packages/core && pnpm run test