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

CI updates: Modern Node.js versions, action version updates, standard template #323

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

orangejulius
Copy link
Member

This PR includes a bunch of commits made by a script that standardizes as much as possible our CI config across all repositories.

First and foremost, it ensures we test all Node.js versions that are an LTS release, not EOL, and currently work with this repository. This repository is one of our few dependencies that can't yet support Node.js 22. We'll have to upgrade better-sqlite3 in the whosonfirst repo for that.

Also, the CI OS version is now hardcoded to ubuntu-22.04. We fooled around with an organization wide CI variable to configure that, but it broke CI in forks and doesn't really help us much, so it's now undone.

If there are any other differences in Github Actions Workflow files, they are also now removed by using a standard template.

Connects pelias/pelias#950
Connects pelias/pelias#951

This just keeps us up to date and avoids warnings for deprecated Node.js versions in CI.
We were all over the place with these, with some going all the way back to Ubuntu 16!

Connects pelias/pelias#951
This also rewrites our CI config so that all Node.js versions are on one line for ease of future grepping

pelias/pelias#950
A lot of our repositories have diverged from our intended template, so this copies a templated version over whatever was here before

Connects pelias/pelias#951
@orangejulius orangejulius merged commit 3f9d9a9 into master Dec 3, 2024
4 checks passed
@orangejulius orangejulius deleted the nodejs-18-and-ci-updates branch December 3, 2024 11:54
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