Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,24 @@ jobs:
- name: Test the offline export
run: pnpm turbo run test --filter=@coder/offlinedocs

# Turbopack lets node: imports leak into the client bundle; only webpack fails on them.
offline-webpack:
name: offline export on webpack
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: ./.github/actions/setup
- name: Build packages
run: pnpm turbo run build --filter='./packages/*'
- name: Sync the fixture corpus (apps/offlinedocs)
run: pnpm --filter @coder/offlinedocs sync
- name: Build the offline export with webpack (apps/offlinedocs)
working-directory: apps/offlinedocs
run: pnpm exec next build --webpack
- name: No API playground code in the webpack export
run: pnpm --filter @coder/offlinedocs playground:check

# A pinned release binary rather than a marketplace action or the Docker
# image: the tarball's sha256 is hard-coded here, so a re-pushed tag can't
# change what runs, and actionlint picks up the runner's own shellcheck for
Expand Down Expand Up @@ -380,6 +398,7 @@ jobs:
test,
test-matrix-guard,
node-22,
offline-webpack,
actionlint,
dist-dry-run,
code-samples-format,
Expand Down
Loading