Skip to content

Added docc compile script to npm test#2088

Merged
matthewbastien merged 2 commits intoswiftlang:mainfrom
thePianoKid:add-docc-compile-to-ci
Feb 5, 2026
Merged

Added docc compile script to npm test#2088
matthewbastien merged 2 commits intoswiftlang:mainfrom
thePianoKid:add-docc-compile-to-ci

Conversation

@thePianoKid
Copy link
Contributor

@thePianoKid thePianoKid commented Feb 5, 2026

Description

The npm ci script is incomplete, and it's causing integration tests that test the docc previewer to fail. The postinstall script that npm ci relies on compiles the icons and builds the docc renderer, but it misses an important step. The compile-documentation-webview script is required to compile the TS code that displays Swift docc documentation within VS Code.

This command wasn't being run, and the docc preview would be blank, making the docc integration tests fail.

Issue: N/A

Tasks

  • Required tests have been written
  • Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@thePianoKid thePianoKid marked this pull request as ready for review February 5, 2026 19:28
@matthewbastien matthewbastien changed the title Added docc compile script to npm ci Added docc compile script to npm test Feb 5, 2026
@matthewbastien matthewbastien merged commit 0ac69d8 into swiftlang:main Feb 5, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants