Skip to content

Commit

Permalink
Build docs in GitHub Actions for all PRs (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 authored Nov 15, 2024
1 parent 8fbf37a commit 548eb85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm run build:docs
# Use `--ignore-scripts` to avoid running the `pretest` script. We already
# built the project in a previous step, no need to build it again.
- run: npm run test --ignore-scripts
- run: npm run test:types
- run: npm run stylelint
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
},
"scripts": {
"build": "grunt build",
"build:docs": "grunt builddocs",
"build:js": "npm run build:js:esm && npm run build:js:cjs && npm run build:js:umd",
"build:js:esm": "tsc -p .config/tsconfig.esm.json",
"build:js:cjs": "tsc -p .config/tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
Expand Down

0 comments on commit 548eb85

Please sign in to comment.