Skip to content

Refresh wasm-lib assets before build in publish workflow - #21

Merged
frankslin merged 2 commits into
masterfrom
codex/automate-npm-release-from-github
Jan 9, 2026
Merged

frankslin merged 2 commits into
masterfrom
codex/automate-npm-release-from-github

Conversation

@frankslin

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the wasm-lib build uses up-to-date generated assets by running ./scripts/refresh_assets.sh before the build.
  • Allow refresh_assets.sh to act as a harmless no-op when there is nothing to refresh so the workflow remains safe to run.
  • Preserve the existing publish pipeline behavior and working-directory: wasm-lib while ensuring assets are current.

Description

  • Modify .github/workflows/wasm-lib-publish.yml to add a Refresh wasm-lib assets step that runs ./scripts/refresh_assets.sh after npm ci and before npm run build.
  • Leave the rest of the workflow unchanged so it still runs npm pack and npm publish --access public with NODE_AUTH_TOKEN sourced from secrets.NPM_TOKEN.
  • Apply a minor formatting fix to package.json to ensure a trailing newline at EOF.

Testing

  • No automated tests were executed because this change only updates a CI workflow file.
  • The workflow file was validated by committing and inspecting the file contents in the repository.
  • The publish process will be exercised when a release is published or the workflow is manually dispatched in GitHub Actions.

Codex Task

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5142400f03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/wasm-lib-publish.yml
@frankslin
frankslin merged commit 96f8cec into master Jan 9, 2026
23 checks passed
@frankslin
frankslin deleted the codex/automate-npm-release-from-github branch January 9, 2026 04:40
frankslin added a commit that referenced this pull request Jan 13, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 16, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 21, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 24, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 25, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jan 28, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 9, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 17, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 18, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 18, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 27, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Mar 31, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 14, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 15, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 16, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 22, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 22, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 22, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Apr 23, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request May 7, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request May 9, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jun 16, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jun 27, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jun 30, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jul 2, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jul 4, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jul 13, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Jul 21, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
frankslin added a commit that referenced this pull request Aug 23, 2026
* Refresh wasm-lib assets before build

* Install Bazel before refreshing wasm assets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant