From ab1d790d7a53289a4235034da3cfbf7e2eedeb69 Mon Sep 17 00:00:00 2001 From: Maycon Mello Date: Tue, 29 Sep 2026 17:28:12 -0300 Subject: [PATCH] Pin Node 24 via engines field and .nvmrc --- .github/workflows/test.yml | 2 +- .nvmrc | 1 + package.json | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58a3ecd..6663213 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: '24.x' + node-version-file: '.nvmrc' - name: Install run: | diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24 diff --git a/package.json b/package.json index 2a2b164..abec8fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,9 @@ { "name": "auth-api", "private": true, + "engines": { + "node": "24.x" + }, "scripts": { "dev": "next dev", "build": "next build",