Skip to content

Add PR check to validate compatibility with Node 12 #1001

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 4 commits into from
Mar 29, 2022

Conversation

henrymercer
Copy link
Contributor

This PR adds a simple PR check that sets the @types/node dependency to version 12.12 (i.e. types for Node 12), then attempts to compile the Action. This helps us guard against introducing new code that doesn't run with Node 12.

Example successful job: https://github.com/github/codeql-action/runs/5722503871?check_suite_focus=true
Example failed job after introducing some Node 16 only code: https://github.com/github/codeql-action/runs/5722718273?check_suite_focus=true

Note that we'll need to update the set of required checks after merging this PR.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner March 28, 2022 15:40
@henrymercer henrymercer requested a review from cklin March 28, 2022 17:02
Base automatically changed from henrymercer/bump-node-js-to-v16 to main March 29, 2022 12:07
@henrymercer henrymercer merged commit f0e2f3c into main Mar 29, 2022
@henrymercer henrymercer deleted the henrymercer/pr-check-validate-node-12-build branch March 29, 2022 13:27
This was referenced Mar 30, 2022
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.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy