| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,6 +39,20 @@ jobs: | |||
| 39 | 39 | cd ../.. | |
| 40 | 40 | make lint-md-rollup | |
| 41 | 41 | fi | |
| 42 | + - id: doc | ||
| 43 | + run: | | ||
| 44 | + cd tools/doc | ||
| 45 | + npm ci | ||
| 46 | + NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs) | ||
| 47 | + if [ "$NEW_VERSION" != "" ]; then | ||
| 48 | + echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV | ||
| 49 | + rm -rf package-lock.json node_modules | ||
| 50 | + # Include $NEW_VERSION to explicitly update the package.json | ||
| 51 | + # entry for the dependency and also so that semver-major updates | ||
| 52 | + # are not skipped. | ||
| 53 | + npm install --ignore-scripts $NEW_VERSION | ||
| 54 | + npm install --ignore-scripts | ||
| 55 | + fi | ||
| 42 | 56 | steps: | |
| 43 | 57 | - uses: actions/checkout@v2 | |
| 44 | 58 | with: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments