Skip to content

fix(theme/CodeBlock): preserve background when scrolling horizontally #7094

fix(theme/CodeBlock): preserve background when scrolling horizontally

fix(theme/CodeBlock): preserve background when scrolling horizontally #7094

Workflow file for this run

name: Test (Windows)
concurrency:
group: windows-test-${{ github.head_ref }}
cancel-in-progress: true
# Controls when the action will run.
on:
# Triggers the workflow on pull request events but only for the main branch
pull_request:
branches: [main]
merge_group:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions: {}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ut-windows:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
node-version: [22.x]
os: [windows-latest] # windows-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Git config
shell: bash
run: |
git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
- name: Install Pnpm
run: |
npm install -g corepack@latest --force
corepack enable
- name: Check skip CI
shell: bash
run: echo "RESULT=$(node ./scripts/skipCI.js)" >> "$GITHUB_OUTPUT"
id: skip-ci
- name: Log skip CI result
run: echo "${{steps.skip-ci.outputs.RESULT}}"
- name: Setup Node.js ${{ matrix.node-version }}
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: ${{ matrix.node-version }}
package-manager-cache: false
- name: Nx Cache
id: nx-cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: .nx/cache
key: nx-${{ github.ref_name }}-${{ runner.os }}-${{ github.sha }}
restore-keys: |
nx-${{ github.ref_name }}-${{ runner.os }}
- name: Install Dependencies
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
run: pnpm install --ignore-scripts
- name: Build Packages
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
run: pnpm run build
- name: Build Website # for test
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
run: pnpm run build:website
- name: Unit Test
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
run: pnpm run test:unit
- name: E2E Test
if: ${{steps.skip-ci.outputs.RESULT != 'true'}}
run: pnpm run test:e2e
- name: Upload Playwright Traces
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
if: always()
with:
name: rstest-playwright-traces
path: .rstest/playwright-traces/
if-no-files-found: ignore
retention-days: 14