Skip to content

Commit

Permalink
chore: don't build node21 (#434)
Browse files Browse the repository at this point in the history
This was added accidentally.

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
  • Loading branch information
mrgrain authored Dec 1, 2023
1 parent 3b02819 commit 57a65b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion projenrc/build-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class BuildWorkflow {
matrix: {
domain: {
'node-version': NodeRelease.ALL_RELEASES.flatMap((release) => {
if (!release.supported) {
if (!release.supported || isOdd(release.majorVersion)) {
return [];
}
return [`${release.majorVersion}.x`];
Expand Down Expand Up @@ -300,3 +300,7 @@ export class BuildWorkflow {
}
}
}

const isOdd = function (x: number): boolean {
return Boolean(x & 1);
};

0 comments on commit 57a65b2

Please sign in to comment.