diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index 8d878c26f74888..5887a99eb8b991 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -6,6 +6,9 @@ on: - .mailmap - README.md - vcbuild.bat + - tools/actions/** + - tools/clang-format/** + - tools/dep_updaters/** - test/internet/** - '**.nix' - .github/** @@ -21,6 +24,9 @@ on: - .mailmap - README.md - vcbuild.bat + - tools/actions/** + - tools/clang-format/** + - tools/dep_updaters/** - test/internet/** - '**.nix' - .github/** diff --git a/.github/workflows/timezone-update.yml b/.github/workflows/timezone-update.yml index 3901a589ab2fa2..4063115182c442 100644 --- a/.github/workflows/timezone-update.yml +++ b/.github/workflows/timezone-update.yml @@ -42,7 +42,7 @@ jobs: run: | echo "Comparing current version ${{ env.current_version }} to new version ${{ env.new_version }}" - - run: ./tools/update-timezone.mjs + - run: ./tools/dep_updaters/update-timezone.mjs if: ${{ env.new_version != env.current_version }} - name: Update the expected timezone version in test @@ -57,7 +57,7 @@ jobs: with: author: Node.js GitHub Bot body: | - This PR was generated by `.github/workflows/timezone-update.yml` and `tools/update-timezone.mjs`. + This PR was generated by `.github/workflows/timezone-update.yml` and `tools/dep_updaters/update-timezone.mjs`. Updates the ICU files as per the instructions present in https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-icu.md#time-zone-data diff --git a/tools/update-timezone.mjs b/tools/dep_updaters/update-timezone.mjs similarity index 96% rename from tools/update-timezone.mjs rename to tools/dep_updaters/update-timezone.mjs index bf3a706bdb0684..5462c1e2172f37 100755 --- a/tools/update-timezone.mjs +++ b/tools/dep_updaters/update-timezone.mjs @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Usage: tools/update-timezone.mjs + import { execSync } from 'node:child_process'; import { renameSync, readdirSync, rmSync } from 'node:fs';