summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2023-01-04 20:54:21 +0100
committerNode.js GitHub Bot <github-bot@iojs.org>2023-01-06 09:14:30 +0000
commit6668c4dfb8f74ffe4734d230e945f41a8c164176 (patch)
tree249ed5a8d184a8cb97abc3e0871cc7fc2c59f18f /.github
parent7f2ef89fabb71803155245ccc933372445d5fe6c (diff)
downloadnode-new-6668c4dfb8f74ffe4734d230e945f41a8c164176.tar.gz
tools: move update-eslint.sh to dep_updaters/
Move the `update-eslint.sh` script to the `dep_updaters/` directory. PR-URL: https://github.com/nodejs/node/pull/46088 Refs: https://github.com/nodejs/node/actions/runs/3814364920/jobs/6488613583#step:3:64 Reviewed-By: Ruy Adorno <ruyadorno@google.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tools.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index e5e6f18269..3047124a78 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -21,12 +21,11 @@ jobs:
subsystem: tools
label: tools
run: |
- cd tools
NEW_VERSION=$(npm view eslint dist-tags.latest)
- CURRENT_VERSION=$(node -p "require('./node_modules/eslint/package.json').version")
+ CURRENT_VERSION=$(node -p "require('./tools/node_modules/eslint/package.json').version")
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
- ./update-eslint.sh
+ ./tools/dep_updaters/update-eslint.sh
fi
- id: corepack
subsystem: deps