Skip to content

Commit 1720a17

Browse files
committed
ci: install puppeteer browser on setup
1 parent e29d4ed commit 1720a17

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

.github/workflows/cron-run.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update Metadata [Monthly]
22

33
on:
44
schedule:
5-
- cron: "0 0 1 * *"
5+
- cron: '0 0 1 * *'
66

77
jobs:
88
build:
@@ -19,6 +19,9 @@ jobs:
1919
- name: Install
2020
run: bun install
2121

22+
- name: Puppeteer Setup
23+
run: bunx @puppeteer/browsers install chrome@stable
24+
2225
- name: Generate API
2326
run: bun run cli generate $GOOGLE_API_KEY
2427
env:
@@ -30,8 +33,8 @@ jobs:
3033
- name: Stage, commit and push files
3134
uses: stefanzweifel/git-auto-commit-action@v4
3235
with:
33-
commit_user_name: "fontsource-bot"
34-
commit_user_email: "[email protected]"
35-
commit_author: "fontsource-bot <[email protected]>"
36-
commit_message: "chore(build): update API [Weekly]"
36+
commit_user_name: 'fontsource-bot'
37+
commit_user_email: '[email protected]'
38+
commit_author: 'fontsource-bot <[email protected]>'
39+
commit_message: 'chore(build): update API [Weekly]'
3740
continue-on-error: true

.github/workflows/manual-run-force.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
- name: Install
1818
run: bun install
1919

20+
- name: Puppeteer Setup
21+
run: bunx @puppeteer/browsers install chrome@stable
22+
2023
- name: Generate API
2124
run: bun run cli generate $GOOGLE_API_KEY
2225
env:
@@ -28,8 +31,8 @@ jobs:
2831
- name: Stage, commit and push files
2932
uses: stefanzweifel/git-auto-commit-action@v4
3033
with:
31-
commit_user_name: "fontsource-bot"
32-
commit_user_email: "[email protected]"
33-
commit_author: "fontsource-bot <[email protected]>"
34-
commit_message: "chore(build): update API [Manual Force]"
34+
commit_user_name: 'fontsource-bot'
35+
commit_user_email: '[email protected]'
36+
commit_author: 'fontsource-bot <[email protected]>'
37+
commit_message: 'chore(build): update API [Manual Force]'
3538
continue-on-error: true

.github/workflows/manual-run.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
with:
1515
bun-version: latest
1616

17+
- name: Puppeteer Setup
18+
run: bunx @puppeteer/browsers install chrome@stable
19+
1720
- name: Generate API
1821
run: bun run cli generate $GOOGLE_API_KEY
1922
env:
@@ -25,8 +28,8 @@ jobs:
2528
- name: Stage, commit and push files
2629
uses: stefanzweifel/git-auto-commit-action@v4
2730
with:
28-
commit_user_name: "fontsource-bot"
29-
commit_user_email: "[email protected]"
30-
commit_author: "fontsource-bot <[email protected]>"
31-
commit_message: "chore(build): update API [Manual]"
31+
commit_user_name: 'fontsource-bot'
32+
commit_user_email: '[email protected]'
33+
commit_author: 'fontsource-bot <[email protected]>'
34+
commit_message: 'chore(build): update API [Manual]'
3235
continue-on-error: true

0 commit comments

Comments
 (0)