Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add tools/doc to tools.yml updates #41036

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/tools.yml
Expand Up @@ -39,6 +39,20 @@ jobs:
cd ../..
make lint-md-rollup
fi
- id: doc
run: |
cd tools/doc
npm ci
NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs)
if [ "$NEW_VERSION" != "" ]; then
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
rm -rf package-lock.json node_modules
# Include $NEW_VERSION to explicitly update the package.json
# entry for the dependency and also so that semver-major updates
# are not skipped.
npm install --ignore-scripts $NEW_VERSION
npm install --ignore-scripts
fi
steps:
- uses: actions/checkout@v2
with:
Expand Down
114 changes: 58 additions & 56 deletions tools/doc/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions tools/doc/package.json
Expand Up @@ -7,18 +7,18 @@
"node": ">=14.8.0"
},
"devDependencies": {
"highlight.js": "^11.2.0",
"highlight.js": "^11.3.1",
"js-yaml": "^4.1.0",
"rehype-raw": "^6.1.0",
"rehype-stringify": "^9.0.2",
"remark-frontmatter": "^4.0.0",
"remark-gfm": "^3.0.0",
"remark-html": "^15.0.0",
"remark-parse": "^10.0.0",
"remark-rehype": "^10.0.0",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-html": "^15.0.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.0.1",
"to-vfile": "^7.2.2",
"unified": "^10.1.0",
"unist-util-select": "^4.0.0",
"unified": "^10.1.1",
"unist-util-select": "^4.0.1",
"unist-util-visit": "^4.1.0"
},
"bin": {
Expand Down