diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 586f5b480..e684ca720 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -24,11 +24,8 @@ jobs: - name: Install Node.js uses: actions/setup-node@v7 with: - # Action runs: using: node24 as defined in - # https://github.com/cypress-io/github-action/blob/master/action.yml - # Node.js minor version is aligned to - # https://github.com/actions/runner/blob/main/src/Misc/externals.sh - node-version: 24.22.1 + node-version-file: '.node-version' + cache: npm - run: npm ci - run: npm run format - run: npm run build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1153a24de..4ef6565f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,11 +16,8 @@ jobs: - name: Install Node.js uses: actions/setup-node@v7 with: - # Action runs: using: node24 as defined in - # https://github.com/cypress-io/github-action/blob/master/action.yml - # Node.js minor version is aligned to - # https://github.com/actions/runner/blob/main/src/Misc/externals.sh - node-version: 24.22.1 + node-version-file: '.node-version' + cache: npm - run: npm ci # Core action code - run: npm run format # Prettier formats core action code @@ -44,6 +41,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + - name: Install Node.js + uses: actions/setup-node@v7 + with: + node-version-file: '.node-version' + cache: npm - run: npm ci # https://github.com/cycjimmy/semantic-release-action - name: Semantic Release diff --git a/.node-version b/.node-version index a43a5b943..63f87c20e 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -24.22.0 +26.12.1 diff --git a/.nvmrc b/.nvmrc index a43a5b943..63f87c20e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.22.0 +26.12.1 diff --git a/package-lock.json b/package-lock.json index fc17669aa..95526bbd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "devDependencies": { "@eslint/js": "10.0.1", "@stylistic/eslint-plugin": "5.10.0", - "@types/node": "25.9.8", + "@types/node": "26.6.5", "@vercel/ncc": "0.45.0", "eslint": "10.9.1", "eslint-plugin-cypress": "7.0.1", @@ -922,13 +922,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "25.9.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.8.tgz", - "integrity": "sha512-VfMrScDmMhUJQmd5hArdQnFvK0OIeD36uN2Va1FcpYaLB/BgkgM8Ulc50XtYISPMz7APJ30+N0T5EM0jlcdfRw==", + "version": "26.6.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.5.tgz", + "integrity": "sha512-uMzsv9stDdofIZBx4UGh4Z9ZgXnGC9seRDscilBcTHAeOFk67MZg/k9bWVfO+bk4qZmG+l52hRnLwUiH2LnJTg==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": ">=7.24.0 <7.24.7" + "undici-types": "~8.9.0" } }, "node_modules/@typescript-eslint/types": { @@ -3116,9 +3116,9 @@ } }, "node_modules/undici-types": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", - "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index df25f8da3..886534810 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "devDependencies": { "@eslint/js": "10.0.1", "@stylistic/eslint-plugin": "5.10.0", - "@types/node": "25.9.8", + "@types/node": "26.6.5", "@vercel/ncc": "0.45.0", "eslint": "10.9.1", "eslint-plugin-cypress": "7.0.1",