Skip to content

[3.x] Don't cancel background async visits on navigation #568

[3.x] Don't cancel background async visits on navigation

[3.x] Don't cancel background async visits on navigation #568

name: Compatibility Checks
on: [push, pull_request]
permissions:
contents: read
jobs:
es2022-compatibility:
name: ES2022 (${{ matrix.adapter }})
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-24.04
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
adapter: ['core', 'react', 'vue', 'svelte']
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
with:
version: 11.1.1
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build core package
if: matrix.adapter != 'core'
run: pnpm -r --filter ./packages/core build
- name: Validate ES2022 compatibility
run: pnpm -r --filter ./packages/${{ matrix.adapter }}* es2022-check