GeezerVison is showing github.com — build: fix tools.yml errors · starrify/node@e0233fc
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/tools.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
21 | 21 | CURRENT_VERSION=$(node -p "require('./node_modules/eslint/package.json').version") |
22 | 22 | if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then |
23 | 23 | echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV |
24 | | - tools/update-eslint.sh |
| 24 | + ./update-eslint.sh |
25 | 25 | fi |
26 | 26 | - id: "@babel/eslint-parser" |
27 | 27 | run: | |
@@ -30,15 +30,15 @@ jobs: |
30 | 30 | CURRENT_VERSION=$(node -p "require('./node_modules/@babel/eslint-parser/package.json').version") |
31 | 31 | if [ "$NEW_VERSION" != "$CURRENT_VERSION" ]; then |
32 | 32 | echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV |
33 | | - tools/update-babel-eslint.sh |
| 33 | + ./update-babel-eslint.sh |
34 | 34 | fi |
35 | 35 | - id: "lint-md dependencies" |
36 | 36 | run: | |
37 | 37 | cd tools/lint-md |
38 | 38 | NEW_VERSION=$(npm outdated --omit=dev --parseable | cut -d: -f4 | xargs) |
39 | 39 | if [ "$NEW_VERSION" != "" ]; then |
40 | 40 | echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV |
41 | | - rm -rf package-lock.json node_modules && npm install --ignore-scripts) |
| 41 | + rm -rf package-lock.json node_modules && npm install --ignore-scripts |
42 | 42 | make lint-md-rollup |
43 | 43 | fi |
44 | 44 | steps: |
|