Skip to content

refactor(theme-classic): use the @docusaurus/infima package instead of the npm infima package #6101

refactor(theme-classic): use the @docusaurus/infima package instead of the npm infima package

refactor(theme-classic): use the @docusaurus/infima package instead of the npm infima package #6101

Workflow file for this run

name: Swizzle Tests
on:
pull_request:
branches:
- main
- docusaurus-v**
paths:
- packages/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Swizzle
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
matrix:
action: ['eject', 'wrap']
variant: ['js', 'ts']
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up pnpm, Node.js and dependencies
uses: $/.github/actions/setup
with:
cache: true
# Swizzle all the theme components
- name: Swizzle (${{matrix.action}} - ${{matrix.variant}})
run: pnpm --filter website test:swizzle:${{matrix.action}}:${{matrix.variant}}
# Build swizzled site
- name: Build website
run: pnpm build:website:fast
# Ensure swizzled site still typechecks
- name: TypeCheck website
run: pnpm --filter website typecheck --project tsconfig.skipLibCheck.json