Skip to content

refactor(react-x): narrow with* HOC detection to well-known wrappers … #11640

refactor(react-x): narrow with* HOC detection to well-known wrappers …

refactor(react-x): narrow with* HOC detection to well-known wrappers … #11640

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types: [opened, edited, reopened, synchronize]
branches:
- "**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NODE_OPTIONS: --max_old_space_size=10240
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup node@26
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 26
package-manager-cache: false
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: node --run build
- name: Test on node@26
run: node --run test
- name: Setup node@24
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
package-manager-cache: false
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Test on node@24
run: node --run test
- name: Setup node@22
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
package-manager-cache: false
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
- name: Test on node@22
run: node --run test