diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1a6635a..f52daed 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,6 +22,8 @@ jobs: # v4.3.0 - name: Setup Node uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e + with: + node-version-file: .nvmrc - name: Install node_modules run: npm ci diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 54f3ddb..b57ef3e 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -20,11 +20,11 @@ jobs: # v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - name: Use Node.js 18 + - name: Setup Node # v4 uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: - node-version: 18 + node-version-file: .nvmrc - name: Install node_modules run: npm ci diff --git a/.nvmrc b/.nvmrc index 0a49261..60ade1a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.11.0 +24.19.0 diff --git a/package.json b/package.json index 0e4fc1a..d8689b0 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,18 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, + "devEngines": { + "runtime": { + "name": "node", + "version": ">=24.19.0", + "onFail": "error" + }, + "packageManager": { + "name": "npm", + "version": ">=11.10.0", + "onFail": "error" + } + }, "devDependencies": { "@babel/preset-env": "^7.25.3", "@babel/preset-react": "^7.18.6",