Skip to content

Commit 38ecadb

Browse files
committed
test ReLaXedJS
1 parent 26e580f commit 38ecadb

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

.github/workflows/mkdocs_pdf.yml

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,35 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818

19-
- name: Setup chromium
20-
uses: browser-actions/setup-chrome@v1
21-
id: setup-chrome
22-
with:
23-
install-dependencies: true
24-
install-chromedriver: true
25-
- run: |
26-
echo ${{ steps.setup-chrome.outputs.chrome-path }} --version
27-
${{ steps.setup-chrome.outputs.chrome-path }} --version
28-
- name: test installed chrome
29-
run: |
30-
${{ steps.setup-chrome.outputs.chrome-path }} --no-sandbox --headless --disable-gpu --dump-dom https://google.com
31-
- name: test system chromium
19+
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
23+
- name: Install RelaxedJS globally
24+
run: npm install -g relaxedjs
25+
#- name: Install RelaxedJS locally
26+
# run: npm install relaxedjs
27+
28+
- name: find relaxedjs
3229
run: |
33-
/usr/bin/chromium-browser --no-sandbox --headless --disable-gpu --dump-dom https://google.com
30+
which relaxedjs
31+
exit
32+
33+
# - name: Setup chromium
34+
# uses: browser-actions/setup-chrome@v1
35+
# id: setup-chrome
36+
# with:
37+
# install-dependencies: true
38+
# install-chromedriver: true
39+
# - run: |
40+
# echo ${{ steps.setup-chrome.outputs.chrome-path }} --version
41+
# ${{ steps.setup-chrome.outputs.chrome-path }} --version
42+
# - name: test installed chrome
43+
# run: |
44+
# ${{ steps.setup-chrome.outputs.chrome-path }} --no-sandbox --headless --disable-gpu --dump-dom https://google.com
45+
# - name: test system chromium
46+
# run: |
47+
# /usr/bin/chromium-browser --no-sandbox --headless --disable-gpu --dump-dom https://google.com
3448

3549
- name: Python setup
3650
uses: actions/setup-python@v3
@@ -53,9 +67,9 @@ jobs:
5367
- name: convert MDhelp
5468
run: |
5569
cd MDhelp
56-
mv mkdocs.yml_pdf mkdocs.yml
57-
#mkdocs build
58-
ENABLE_PDF_EXPORT=1 mkdocs build
70+
mkdocs build
71+
#mv mkdocs.yml_pdf mkdocs.yml
72+
# ENABLE_PDF_EXPORT=1 mkdocs build
5973
# mv site/GSASII-help.pdf ...
6074
#cp -vr site ../help_test
6175

0 commit comments

Comments
 (0)