[PR #4111] [MERGED] ci: test for node.js 22 #5193

Closed
opened 2026-03-13 12:13:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4111
Author: @himself65
Created: 8/20/2025
Status: Merged
Merged: 8/20/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/08/20/ci


📝 Commits (5)

📊 Changes

3 files changed (+23 additions, -12 deletions)

View changed files

📝 .github/workflows/ci.yml (+12 -8)
📝 packages/better-auth/src/adapters/kysely-adapter/test/normal/node-sqlite-dialect.test.ts (+10 -3)
📝 packages/better-auth/src/test-utils/test-instance.ts (+1 -1)

📄 Description

In https://github.com/better-auth/better-auth/pull/3869, we bring node:sqlite, which requires Node.js 22.

I think we should still keep node.js 20 as it still in LTS


Summary by cubic

Run CI tests on Node.js 20.x and 22.x to validate compatibility across LTS and the new node:sqlite requirement (Node 22). This adds a matrix strategy and uses the matrix version in setup-node.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4111 **Author:** [@himself65](https://github.com/himself65) **Created:** 8/20/2025 **Status:** ✅ Merged **Merged:** 8/20/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/08/20/ci` --- ### 📝 Commits (5) - [`a4c7757`](https://github.com/better-auth/better-auth/commit/a4c775778758ffa1c27ee59b5f791607ec6c6c68) ci: test for node.js 22 - [`05ff44e`](https://github.com/better-auth/better-auth/commit/05ff44ecb2c41ba65f6a6bc8e0deaf57bd69374e) fix: test - [`d3082c9`](https://github.com/better-auth/better-auth/commit/d3082c9fd3ab4af7ec5e94e2ada268881805fc26) fix: test - [`31ce3aa`](https://github.com/better-auth/better-auth/commit/31ce3aa426d517eaa1a3bec007dec2faf9f97cf8) test: fix - [`6d98110`](https://github.com/better-auth/better-auth/commit/6d98110672a2186c873dc74a8ef9b4c9033aded1) test: fix ### 📊 Changes **3 files changed** (+23 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+12 -8) 📝 `packages/better-auth/src/adapters/kysely-adapter/test/normal/node-sqlite-dialect.test.ts` (+10 -3) 📝 `packages/better-auth/src/test-utils/test-instance.ts` (+1 -1) </details> ### 📄 Description In https://github.com/better-auth/better-auth/pull/3869, we bring node:sqlite, which requires Node.js 22. I think we should still keep node.js 20 as it still in LTS <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Run CI tests on Node.js 20.x and 22.x to validate compatibility across LTS and the new node:sqlite requirement (Node 22). This adds a matrix strategy and uses the matrix version in setup-node. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:13:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5193