Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 11, 2025

Updates GitHub Actions workflow to test against Node.js 20 and 22 instead of 18 and 20.

Changes

  • Updated .github/workflows/main.yml matrix to use Node.js ^20 and ^22
Original prompt

This section details on the original issue you should resolve

<issue_title>[feature] upgrade CI's Node.js version to 20 and 22</issue_title>
<issue_description>see PR: #508

it runs Node.js 18 and 20, needs to change to 20 and 22

[main / test (^18) (pull_request)](https://github.com/casbin/node-casbin/actions/runs/19271700681/job/55101420459?pr=508)
main / test (^18) (pull_request)Successful in 45s
[main / test (^20) (pull_request)](https://github.com/casbin/node-casbin/actions/runs/19271700681/job/55101420455?pr=508)
main / test (^20) (pull_request)Successful in 48s
```</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI changed the title [WIP] Upgrade CI's Node.js version to 20 and 22 Upgrade CI Node.js versions from 18/20 to 20/22 Nov 11, 2025
Copilot AI requested a review from nomeguy November 11, 2025 16:23
@nomeguy nomeguy marked this pull request as ready for review November 11, 2025 16:24
@nomeguy nomeguy changed the title Upgrade CI Node.js versions from 18/20 to 20/22 feat: upgrade CI Node.js versions from 18/20 to 20/22 Nov 11, 2025
@nomeguy nomeguy merged commit 657ce9a into master Nov 11, 2025
14 of 16 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 11, 2025
# [5.41.0](v5.40.0...v5.41.0) (2025-11-11)

### Features

* upgrade CI Node.js versions from 18/20 to 20/22 ([#511](#511)) ([657ce9a](657ce9a))
@github-actions
Copy link

🎉 This PR is included in version 5.41.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] upgrade CI's Node.js version to 20 and 22

3 participants