Build: code classroom build and publish set up#3
Merged
DNR500 merged 5 commits intoMay 21, 2026
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves
Part of issue: 1287 — sets up the publishing on
code-classroomintegration branch (fork packaging and CI onv13.7.3).Proposed Changes
@RaspberryPiFoundation/scratch-guito GitHub Packages from CI oncode-classroom(package versions will appear as13.7.3-code-classroom.<timestamp>)..npmrc, update lockfile; remove upstreampublish.yml,update-i18n.yml, and MIT CLA workflow.code-classroom-base/code-classroom), editor-ui consumer, and upstream refresh process in README.Reason for Changes
experience-csbranch 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 oncode-classroom-base, RPF build oncode-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.