mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
build: fix tools.yml errors
PR-URL: https://github.com/nodejs/node/pull/40870 Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
4a7a18bbbe
commit
e0233fc7dc
1 file changed
+3
-3
@@ -21,7 +21,7 @@ jobs:
|
||||
CURRENT_VERSION=$(node -p "require('./node_modules/eslint/package.json').version")
|
||||
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
|
||||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
|
||||
tools/update-eslint.sh
|
||||
./update-eslint.sh
|
||||
fi
|
||||
- id: "@babel/eslint-parser"
|
||||
run: |
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
CURRENT_VERSION=$(node -p "require('./node_modules/@babel/eslint-parser/package.json').version")
|
||||
if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then
|
||||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
|
||||
tools/update-babel-eslint.sh
|
||||
./update-babel-eslint.sh
|
||||
fi
|
||||
- id: "lint-md dependencies"
|
||||
run: |
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
NEW_VERSION=$(npm outdated --omit=dev --parseable | cut -d: -f4 | xargs)
|
||||
if [ "$NEW_VERSION" != "" ]; then
|
||||
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
|
||||
rm -rf package-lock.json node_modules && npm install --ignore-scripts)
|
||||
rm -rf package-lock.json node_modules && npm install --ignore-scripts
|
||||
make lint-md-rollup
|
||||
fi
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user