Skip to content

Build: fix inconsistent builds in Node 20 #5332

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 2 commits into from
Sep 20, 2023
Merged

Conversation

timmywil
Copy link
Member

Summary

  • one fileOverrides per build
  • only run the lint build when running lint

Checklist

Sorry, something went wrong.

...inputOptions,
plugins: [ rollupFileOverrides( fileOverrides ) ]
} );

Copy link
Member Author

Choose a reason for hiding this comment

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

I moved this here as it's not needed if watching.

- name: Lint code
run: npm run lint
run: npm run build:all && npm run lint
Copy link
Member Author

Choose a reason for hiding this comment

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

The removed build above was only the first build on Node 20, but I think any of them could have failed. But, I realized lint only runs on Node 18.x, so I moved it there.

- one fileOverrides per build
- only run the lint build when running lint

Close jquerygh-5332
@timmywil timmywil merged commit cb76307 into jquery:main Sep 20, 2023
@timmywil timmywil deleted the fix-build branch September 20, 2023 22:21
timmywil added a commit that referenced this pull request Sep 20, 2023
- one fileOverrides per build
- only run the lint build when running lint

Close gh-5332
@mgol mgol added this to the 3.7.2 milestone Sep 21, 2023
@mgol mgol added the Build label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants