Skip to content

chore(ci): add test-js job to run Node tests after build#81

Closed
watson wants to merge 1 commit intomainfrom
watson/test-js
Closed

chore(ci): add test-js job to run Node tests after build#81
watson wants to merge 1 commit intomainfrom
watson/test-js

Conversation

@watson
Copy link
Copy Markdown
Contributor

@watson watson commented Mar 3, 2026

Summary

Adds a test-js job to the Build workflow so Node/JS tests run in CI after the native addon build.

Motivation

The workflow builds native addons and runs package-size checks but did not run yarn test. The new job runs the JS test suite on the built artifacts so test failures are caught in CI.

Changes

  • .github/workflows/build.yml: New test-js job that depends on build, checks out the repo, downloads build artifacts, sets up Node.js, runs yarn install and yarn test on ubuntu-latest.

Introduce a test-js job in the build workflow that runs on ubuntu-latest
after the build job, checks out the repo, downloads artifacts, sets up
Node.js, installs deps with yarn, and runs yarn test.
Copy link
Copy Markdown
Contributor Author

watson commented Mar 3, 2026

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.

1 participant