Skip to content
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

Only require latest version of Node tests to pass to publish #119

Merged
merged 1 commit into from
May 30, 2023

Conversation

ivomurrell
Copy link
Contributor

This avoids an issue with the CircleCI workflow where depending on both the Node 16 and Node 18 test jobs to pass meant that we could not attach the workspace to the publish job as the node_modules directory in the test jobs conflicted. The downside now is that we will automatically publish the package even if the Node 16 tests fail. I don't think CircleCI provides any way to work around this when testing mutiple Node versions concurrently (there's no way to select which job to attach a workspace from, for instance).

This avoids an issue with the CircleCI workflow where depending on both
the Node 16 and Node 18 test jobs to pass meant that we could not attach
the workspace to the publish job as the `node_modules` directory in the
test jobs conflicted. The downside now is that we will automatically
publish the package even if the Node 16 tests fail. I don't think
CircleCI provides any way to work around this when testing mutiple Node
versions concurrently (there's no way to select which job to attach a
workspace from, for instance).
@ivomurrell ivomurrell requested a review from a team as a code owner May 30, 2023 15:30
Copy link
Member

@joelcarr joelcarr left a comment

Choose a reason for hiding this comment

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

Although less than ideal, this should be good enough. Hopefully our workflows before reaching the build-test-publish workflow (like build-test on Pull Requests checks) any issue between the different node versions.

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