diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 386b31300..863af1a65 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -12,7 +12,7 @@ jobs: token: ${{ secrets.OCTOKITBOT_PAT }} - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: echo "./node_modules/.bin" >> $GITHUB_PATH diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1631e080..845e51d5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: npm test @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: cd payload-examples && npm i && cd .. @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: npm run build:schema @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: npm run build:webhooks -- --check --cached diff --git a/.github/workflows/update-prettier.yml b/.github/workflows/update-prettier.yml index f00bc490c..9daffd1e2 100644 --- a/.github/workflows/update-prettier.yml +++ b/.github/workflows/update-prettier.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: npm run lint:fix diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 7218623f2..f45d0d94d 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: git checkout webhooks-update || true - run: npm ci diff --git a/package-lock.json b/package-lock.json index 036ac8a7e..7c0a827fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@types/cheerio": "^0.22.30", "@types/json-diff": "^1.0.0", "@types/json-schema": "^7.0.9", - "@types/node": "^22.0.0", + "@types/node": "^24.0.0", "@types/turndown": "^5.0.1", "@types/yargs": "^17.0.8", "ajv": "^8.9.0", @@ -611,13 +611,13 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.15.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.17.tgz", - "integrity": "sha512-wIX2aSZL5FE+MR0JlvF87BNVrtFWf6AE6rxSE9X7OwnVvoyCQjpzSRJ+M87se/4QCkCiebQAqrJ0y6fwIyi7nw==", + "version": "24.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.1.tgz", + "integrity": "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~6.21.0" + "undici-types": "~7.16.0" } }, "node_modules/@types/turndown": { @@ -1833,6 +1833,7 @@ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -2250,9 +2251,9 @@ } }, "node_modules/undici-types": { - "version": "6.21.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", - "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index ddd42df05..efcacc800 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@types/cheerio": "^0.22.30", "@types/json-diff": "^1.0.0", "@types/json-schema": "^7.0.9", - "@types/node": "^22.0.0", + "@types/node": "^24.0.0", "@types/turndown": "^5.0.1", "@types/yargs": "^17.0.8", "ajv": "^8.9.0",