Skip to content

Build: code classroom build and publish set up#3

Merged
DNR500 merged 5 commits into
code-classroomfrom
build/code-classroom-build-and-publish-set-up
May 21, 2026
Merged

Build: code classroom build and publish set up#3
DNR500 merged 5 commits into
code-classroomfrom
build/code-classroom-build-and-publish-set-up

Conversation

@DNR500
Copy link
Copy Markdown

@DNR500 DNR500 commented May 21, 2026

Resolves

Part of issue: 1287 — sets up the publishing on code-classroom integration branch (fork packaging and CI on v13.7.3).

Proposed Changes

  • Publish @RaspberryPiFoundation/scratch-gui to GitHub Packages from CI on code-classroom (package versions will appear as 13.7.3-code-classroom.<timestamp>).
  • Rename package, add .npmrc, update lockfile; remove upstream publish.yml, update-i18n.yml, and MIT CLA workflow.
  • Align CI: GPR auth, Rolldown on Linux, drop preview and EnricoMi test publishing.
  • Document fork model (code-classroom-base / code-classroom), editor-ui consumer, and upstream refresh process in README.

Reason for Changes

experience-cs branch had its own publishing and CI that we want to use here without effecting the changes for there build. For Code Classroom: this should have a clean MIT anchor on code-classroom-base, RPF build on code-classroom, which can be used in editor-ui to consume a package with specific features we will need to add.

Test Coverage

No new unit tests. Relies on existing monorepo CI (build + package tests) on the PR; publish runs only after merge to code-classroom.

DNR500 and others added 5 commits May 21, 2026 16:45
Rename scratch-gui to @RaspberryPiFoundation/scratch-gui with publishConfig
for GitHub Packages. Add root .npmrc for the scope and update package-lock.json
so the monorepo resolves the renamed workspace package.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove publish.yml (MIT npmjs releases). Remove update-i18n.yml (Transifex
credentials we do not have). Remove signature-assistant.yml (MIT CLA bot
requires GHA_AGREEMENTS_PAT). Publishing and agreements are not used on
this fork's code-classroom integration path.

Co-authored-by: Cursor <cursoragent@cursor.com>
Publish @RaspberryPiFoundation/scratch-gui on push or workflow_dispatch to
code-classroom with version 13.7.3-code-classroom.<timestamp>. Add
packages:write, GitHub npm registry, NPM_AUTH_TOKEN for installs, and
Rolldown linux binaries in the build job.

Remove the GitHub Pages preview job; we do not use per-branch playground
previews on this fork.

Co-authored-by: Cursor <cursoragent@cursor.com>
Install @rolldown/binding-linux-x64-gnu in the test-package action for
ubuntu-latest runners. Remove EnricoMi test result publishing and extra
permissions from test-packages; keep the pass/fail outcome check only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Document code-classroom-base on MIT release tags, code-classroom integration,
compare link for RPF-only diffs, editor-ui as primary consumer, GitHub
Packages publishing, local dev, and refreshing the base branch from MIT
releases.

Co-authored-by: Cursor <cursoragent@cursor.com>
@DNR500 DNR500 self-assigned this May 21, 2026
Copy link
Copy Markdown

@zetter-rpf zetter-rpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great

@DNR500 DNR500 merged commit 32cca65 into code-classroom May 21, 2026
23 of 26 checks passed
@DNR500 DNR500 deleted the build/code-classroom-build-and-publish-set-up branch May 21, 2026 16:01
@github-actions github-actions Bot locked and limited conversation to collaborators May 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants