diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b94d2bb..24e3714f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: '14.x' + node-version: '24.21.0' - run: yarn - run: yarn run prettier-check - run: yarn run eslint diff --git a/.github/workflows/scip.yml b/.github/workflows/scip.yml index 388b9287..48604810 100644 --- a/.github/workflows/scip.yml +++ b/.github/workflows/scip.yml @@ -9,7 +9,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 24.21.0 - run: yarn global add @sourcegraph/scip-typescript @sourcegraph/src - run: yarn --ignore-engines --ignore-scripts - run: scip-typescript index diff --git a/package.json b/package.json index 2b4a9be1..aa892142 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0-DEVELOPMENT", "description": "CLI to bootstrap Sourcegraph npm packages", "engines": { - "node": "^14.0.0" + "node": "^24.21.0" }, "repository": { "type": "git", @@ -70,7 +70,7 @@ "@types/js-yaml": "3.12.5", "@types/mkdirp-promise": "5.0.0", "@types/mz": "2.7.8", - "@types/node": "12.20.55", + "@types/node": "24.19.1", "download-cli": "^1.1.1", "eslint": "^7.32.0", "husky": "^4.2.3", diff --git a/yarn.lock b/yarn.lock index 146c3d58..6966e093 100644 --- a/yarn.lock +++ b/yarn.lock @@ -767,16 +767,18 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@20.5.1", "@types/node@>= 8": +"@types/node@*", "@types/node@24.19.1", "@types/node@>= 8": + version "24.19.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.19.1.tgz#3a1c3ed9e9fc94fe48d4a72d83dfd0bfcf379c62" + integrity sha512-aS3/DG0oM05K0RIXXP+hKjinGG5IgSSVGzswZxW3O0sS3pH4/fycXundUC9XsszgKCk4gHXylTEK6hyFxVxnoQ== + dependencies: + undici-types ">=7.24.0 <7.24.7" + +"@types/node@20.5.1": version "20.5.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.1.tgz#178d58ee7e4834152b0e8b4d30cbfab578b9bb30" integrity sha512-4tT2UrL5LBqDwoed9wZ6N3umC4Yhz3W3FloMmiiG4JwmUJWpie0c7lcnUNd4gtMKuDEO4wRVS8B6Xa0uMRsMKg== -"@types/node@12.20.55": - version "12.20.55" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" - integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== - "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -7422,6 +7424,11 @@ unbzip2-stream@^1.0.9: buffer "^5.2.1" through "^2.3.8" +"undici-types@>=7.24.0 <7.24.7": + version "7.24.6" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.24.6.tgz#61275b485d7fd4e9d269c7cf04ec2873c9cc0f91" + integrity sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg== + unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230"