diff --git a/.github/workflows/check-blog-links.yml b/.github/workflows/check-blog-links.yml index 16295155f..cbf721508 100644 --- a/.github/workflows/check-blog-links.yml +++ b/.github/workflows/check-blog-links.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20.x + node-version-file: '.nvmrc' - name: Install dependencies run: yarn install - name: Check for changed blog posts diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6f2d7c261..37c9ce9de 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0 with: - node-version: 20 + node-version-file: '.nvmrc' - name: Install dependencies uses: bahmutov/npm-install@ec9e87262db2a1be2ca3ceb2d506c413a220542c # tag: v1.10.5 diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index 2fc9b8a19..6da708268 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0 with: - node-version: 20 + node-version-file: '.nvmrc' - name: Install dependencies uses: bahmutov/npm-install@ec9e87262db2a1be2ca3ceb2d506c413a220542c # tag: v1.10.5 - name: Upload sources to Crowdin @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag: v4.2.2 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0 with: - node-version: 20 + node-version-file: '.nvmrc' - name: Install dependencies uses: bahmutov/npm-install@ec9e87262db2a1be2ca3ceb2d506c413a220542c # tag: v1.10.5 - name: Lint diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index b5741fb75..a1045aa7c 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -29,7 +29,7 @@ jobs: token: ${{ steps.generate-token.outputs.token }} - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0 with: - node-version: 20 + node-version-file: '.nvmrc' - name: Install dependencies uses: bahmutov/npm-install@ec9e87262db2a1be2ca3ceb2d506c413a220542c # tag: v1.10.5 - name: Prebuild diff --git a/.github/workflows/update-i18n-deploy.yml b/.github/workflows/update-i18n-deploy.yml index d2402edd5..cb638074d 100644 --- a/.github/workflows/update-i18n-deploy.yml +++ b/.github/workflows/update-i18n-deploy.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # tag: v4.1.0 with: - node-version: 20 + node-version-file: '.nvmrc' - name: Install dependencies uses: bahmutov/npm-install@ec9e87262db2a1be2ca3ceb2d506c413a220542c # tag: v1.10.5 diff --git a/.nvmrc b/.nvmrc index 8b0beab16..6fa8dec4c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.11.0 +22.13.0 diff --git a/package.json b/package.json index b61370416..b7643ed3f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "license": "Apache-2.0", "engines": { - "node": "20" + "node": "22" }, "scripts": { "crowdin": "crowdin", @@ -62,7 +62,7 @@ "@tsconfig/docusaurus": "^2.0.3", "@types/adm-zip": "^0.5.5", "@types/mdast": "^4.0.4", - "@types/node": "^18.11.10", + "@types/node": "^22.10.7", "@types/react": "^18.3.1", "@types/semver": "^7.3.13", "@types/tar-stream": "^2.2.2", diff --git a/yarn.lock b/yarn.lock index b326ad534..012b2ad20 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4544,10 +4544,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190" integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== -"@types/node@^18.11.10": - version "18.11.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.10.tgz#4c64759f3c2343b7e6c4b9caf761c7a3a05cee34" - integrity sha512-juG3RWMBOqcOuXC643OAdSA525V44cVgGV6dUDuiFtss+8Fk5x1hI93Rsld43VeJVIeqlP9I7Fn9/qaVqoEAuQ== +"@types/node@^22.10.7": + version "22.10.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.7.tgz#14a1ca33fd0ebdd9d63593ed8d3fbc882a6d28d7" + integrity sha512-V09KvXxFiutGp6B7XkpaDXlNadZxrzajcY50EuoLIpQ6WWYCSvf19lVIazzfIzQvhUN2HjX12spLojTnhuKlGg== + dependencies: + undici-types "~6.20.0" "@types/parse-json@^4.0.0": version "4.0.0" @@ -14452,6 +14454,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +undici-types@~6.20.0: + version "6.20.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.20.0.tgz#8171bf22c1f588d1554d55bf204bc624af388433" + integrity sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc"