Skip to content

Create schedule workflow to build/publish node.js on schedules. #10

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
merged 1 commit into from
May 16, 2025

Conversation

TingluoHuang
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 16, 2025 02:51
@TingluoHuang TingluoHuang requested a review from a team as a code owner May 16, 2025 02:51
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a scheduled GitHub Actions workflow that reads target Node.js majors from versions.json, finds the latest patch releases, and triggers a reusable build-and-release Alpine Node.js workflow.

  • Introduce versions.json listing major Node.js versions to process.
  • New release-alpine-nodejs-on-schedule.yml to detect unreleased versions on a weekly cron and dispatch builds.
  • Refactor build-release-alpine-nodejs.yml to support workflow_call and unify dispatch vs. call inputs.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
versions.json Defines the major versions (v20, v24) to target.
.github/workflows/release-alpine-nodejs-on-schedule.yml New scheduled + manual dispatcher that sets up matrix.
.github/workflows/build-release-alpine-nodejs.yml Enhanced to accept reusable inputs and streamline jobs.
Comments suppressed due to low confidence (2)

.github/workflows/release-alpine-nodejs-on-schedule.yml:14

  • [nitpick] The output name buildnode is ambiguous; consider renaming it to should_build or build_node for clarity.
buildnode: ${{ steps.set-matrix.outputs.buildnode }}

.github/workflows/build-release-alpine-nodejs.yml:100

  • Pin this action to a specific version (e.g. @v1) instead of @master to avoid unexpected breaking changes.
- uses: actions/create-release@master

@TingluoHuang TingluoHuang merged commit 009ca1c into actions:main May 16, 2025
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