Skip to content

Commit 89b271d

Browse files
committed
Skip browserslist config in docs workflow
The JSDoc tool bundles an old Browserslist that cannot parse the `supports es6-module` query added to .browserslistrc, which broke the docs publish. Documentation output does not depend on browser targets, so drop the config for this workflow. REDMINE-21330
1 parent 87811f5 commit 89b271d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
theme: pageflow
2626
themePackage: tf/sassdoc-theme-pageflow#dist
2727

28+
# documentation-js-action bundles an old Browserslist that cannot parse the
29+
# `supports` query in .browserslistrc. Doc generation does not depend on
30+
# browser targets, so drop the config for this workflow.
31+
- name: Remove browserslist config for JSDoc build
32+
run: rm -f .browserslistrc
33+
2834
- name: Build pageflow JSDoc
2935
uses: codevise/documentation-js-action@v1.3.1
3036
with:

0 commit comments

Comments
 (0)