We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e0aa9 commit ee4186bCopy full SHA for ee4186b
.github/workflows/tools.yml
@@ -39,6 +39,20 @@ jobs:
39
cd ../..
40
make lint-md-rollup
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
56
steps:
57
- uses: actions/checkout@v2
58
with:
0 commit comments