Skip to content

Commit 6227a47

Browse files
committed
try to fix - puppeteer and chromium setup for ci
1 parent a2d88e1 commit 6227a47

File tree

4 files changed

+2298
-6
lines changed

4 files changed

+2298
-6
lines changed

.github/workflows/deploy-pdf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install dependencies
3232
working-directory: ./docs
3333
run: |
34-
just install-deps
34+
just install-deps-ci
3535
3636
# Build PDFs
3737
- name: Build pdf for all languages

docs/justfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ install-deps:
99
# https://www.npmjs.com/package/md-to-pdf
1010
@npm i -g md-to-pdf
1111

12-
13-
# coppied from package.json > scripts
14-
# "build:pdf:en": "md-to-pdf md/en/RESUME.md --config-file ./md/en/pdfconf/config.js",
15-
# "build:pdf:jp": "md-to-pdf md/jp/RESUME.md --config-file ./md/jp/pdfconf/config.js",
16-
# "build:pdf": "yarn build:pdf:en && yarn build:pdf:jp"
12+
# Install dependencies for CI
13+
[group('ci')]
14+
install-deps-ci:
15+
npm ci
16+
npm run install:chrome
1717

1818

1919
# Build a PDF for specified language jp by default. (Usage: just build-pdf jp|en)

0 commit comments

Comments
 (0)