Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 25, 2024
1 parent daaed83 commit da2676e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/GHPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: docker://pandoc/latex:2.9
with:
args: |
sh build-resources-with-pandoc.sh
build-resources-with-pandoc.sh
- name: Install Packages
run: |
npm i -f
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-resources-with-pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-node@v4
- uses: docker://pandoc/latex:2.9
with:
args: sh build-resources-with-pandoc.sh
args: build-resources-with-pandoc.sh
- name: Archive resources
uses: actions/upload-artifact@v4
with:
Expand Down
11 changes: 8 additions & 3 deletions build-resources-with-pandoc.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
#!/bin/sh
set -e

cat /etc/alpine-release
apk update
apk add --no-cache nodejs-current=~18 npm=~9 --repository="http://dl-cdn.alpinelinux.org/alpine/edge/community"
apk add nodejs npm
apk add --update chromium
node -v
npm -v
# export PUPPETEER_SKIP_DOWNLOAD='true'
chromium-browser --version
export PUPPETEER_SKIP_DOWNLOAD='true'
# export MERMAID_FILTER_FORMAT='svg'
npm i -g mermaid-filter
npm i -g mermaid-filter@1.4.5

ROOT_DIR=`pwd`
CSS_PATH="${ROOT_DIR}/documents/common/pandoc_styles/css/style.css"
Expand Down

0 comments on commit da2676e

Please sign in to comment.