Skip to content

fix(vitepress-twoslash): keep drag guard working with floating-vue 5.4 #1516

fix(vitepress-twoslash): keep drag guard working with floating-vue 5.4

fix(vitepress-twoslash): keep drag guard working with floating-vue 5.4 #1516

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install pnpm
uses: pnpm/action-setup@v6
- name: Set node
uses: actions/setup-node@v7
with:
node-version: lts/*
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install pnpm
uses: pnpm/action-setup@v6
- name: Set node
uses: actions/setup-node@v7
with:
node-version: lts/*
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Build
run: nr build
- name: Typecheck
run: nr typecheck
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [24.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
permissions:
id-token: write
steps:
- uses: actions/checkout@v7
- name: Install pnpm
uses: pnpm/action-setup@v6
- name: Set node ${{ matrix.node }}
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node }}
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- name: Build
run: nr build
- name: Test
run: nr test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v7
with:
use_oidc: true