mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
tools: do not run test-linux on unrelated tools changes
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/63037 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
d179c7ebca
commit
69a970f768
3 files changed
+9
-3
No files matched your search
@@ -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/**
|
||||
|
||||
@@ -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 <github-bot@iojs.org>
|
||||
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
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user