Skip to content

Commit

Permalink
Merge pull request #429 from IgniteUI/dependency-updates
Browse files Browse the repository at this point in the history
fix(*): docfx build errors
  • Loading branch information
zdrawku authored Apr 6, 2023
2 parents 52064ba + d91eb0f commit f43d2b6
Show file tree
Hide file tree
Showing 21 changed files with 19,957 additions and 9,689 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- run: echo ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports.buildDocfx = (options = {
applyWarnAsErr = `--warningsAsErrors`;
}

return spawn("docfx", ["build", applyWarnAsErr, `${path.normalize(getPath(docfxJsonPath))}`], { stdio: 'inherit' }).on('exit', (err) => {
return spawn("dotnet", ["docfx", "build", applyWarnAsErr, `${path.normalize(getPath(docfxJsonPath))}`], { stdio: 'inherit' }).on('exit', (err) => {
if (err === 4294967295) {
console.log(`\x1b[31m`, `------------------------------------------------------------------------------------`);
console.log(`--------------------------- Bookmark/Hyperlink Errors -----------------------------`);
Expand Down
Loading

0 comments on commit f43d2b6

Please sign in to comment.