-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Beta builds (manual trigger) #7798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
marklundin
reviewed
Jun 26, 2025
marklundin
reviewed
Jun 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a manual “Nightly” workflow to generate dev prereleases and updates the existing publish workflow to handle -dev
tags.
- Introduces
nightly.yaml
with aworkflow_dispatch
trigger to bump and push adev
prerelease onmain
- Extends
publish.yaml
to match-dev.*
tags and publish them under thedev
npm dist-tag
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
.github/workflows/publish.yaml | Added -dev.[0-9]+ tag pattern and set tag=dev branch |
.github/workflows/nightly.yaml | New manual nightly workflow for dev prerelease bumping |
Comments suppressed due to low confidence (2)
.github/workflows/nightly.yaml:22
- The step name indicates Node.js 18.x but the
node-version
is set to 22.x. Update the step title or the version to keep them consistent.
- name: Set up Node.js 18.x
.github/workflows/nightly.yaml:20
- By default
actions/checkout
does a shallow clone which may not fetch all tags. Addfetch-depth: 0
under this step to ensuregit describe --tags
can find the latest tag.
uses: actions/checkout@v4
willeastcott
approved these changes
Jun 26, 2025
kpal81xd
added a commit
that referenced
this pull request
Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish" * WIP: nightly workflow * Add optional input for test execution in nightly workflow * WIP: Converted manual workflow to on push for testing * Add Git user configuration step to nightly workflow * Add steps to push changes and tags after version bump in nightly workflow * Fix GitHub Action user name in nightly workflow configuration * Updated job name and limited to just run on main * Updated publish name and allow publishing from dev * Combined push commit and tag * Manual nightly build * Removed storing version in env * Add change detection step to nightly workflow * Added quiet flag to suppress changes * Make workflow fail if no changes found with input override * Fix newline issue at end of file in nightly workflow * Fix fetch-depth configuration in nightly workflow * Fix conditional syntax in nightly workflow change detection * Changed tag from nightly to beta * Update Node.js version to 22.x in CI and publish workflows
kpal81xd
added a commit
that referenced
this pull request
Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish" * WIP: nightly workflow * Add optional input for test execution in nightly workflow * WIP: Converted manual workflow to on push for testing * Add Git user configuration step to nightly workflow * Add steps to push changes and tags after version bump in nightly workflow * Fix GitHub Action user name in nightly workflow configuration * Updated job name and limited to just run on main * Updated publish name and allow publishing from dev * Combined push commit and tag * Manual nightly build * Removed storing version in env * Add change detection step to nightly workflow * Added quiet flag to suppress changes * Make workflow fail if no changes found with input override * Fix newline issue at end of file in nightly workflow * Fix fetch-depth configuration in nightly workflow * Fix conditional syntax in nightly workflow change detection * Changed tag from nightly to beta * Update Node.js version to 22.x in CI and publish workflows
kpal81xd
added a commit
that referenced
this pull request
Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish" * WIP: nightly workflow * Add optional input for test execution in nightly workflow * WIP: Converted manual workflow to on push for testing * Add Git user configuration step to nightly workflow * Add steps to push changes and tags after version bump in nightly workflow * Fix GitHub Action user name in nightly workflow configuration * Updated job name and limited to just run on main * Updated publish name and allow publishing from dev * Combined push commit and tag * Manual nightly build * Removed storing version in env * Add change detection step to nightly workflow * Added quiet flag to suppress changes * Make workflow fail if no changes found with input override * Fix newline issue at end of file in nightly workflow * Fix fetch-depth configuration in nightly workflow * Fix conditional syntax in nightly workflow change detection * Changed tag from nightly to beta * Update Node.js version to 22.x in CI and publish workflows
liamdon
pushed a commit
to liamdon/engine
that referenced
this pull request
Jun 26, 2025
* Rename workflow from "Publish to npm" to "Publish" * WIP: nightly workflow * Add optional input for test execution in nightly workflow * WIP: Converted manual workflow to on push for testing * Add Git user configuration step to nightly workflow * Add steps to push changes and tags after version bump in nightly workflow * Fix GitHub Action user name in nightly workflow configuration * Updated job name and limited to just run on main * Updated publish name and allow publishing from dev * Combined push commit and tag * Manual nightly build * Removed storing version in env * Add change detection step to nightly workflow * Added quiet flag to suppress changes * Make workflow fail if no changes found with input override * Fix newline issue at end of file in nightly workflow * Fix fetch-depth configuration in nightly workflow * Fix conditional syntax in nightly workflow change detection * Changed tag from nightly to beta * Update Node.js version to 22.x in CI and publish workflows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
The
release-X.XX
branches has support for prereleases however these are solely used for creating preview for bug patches. This PR adds support by creating a manual workflow to create a beta release from current new or breaking features onmain
.Overview
X.X.X-beta.X
which writes the version bump tomain
(this includes the commit and the tag).beta
id to chain the prerelease workflow to the publish workflowbeta
to track buildsbeta
instead ofdev
Update
main_v1
beta
prerelease type