Skip to content

Commit

Permalink
ci: rely on bunx instead of npx
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Sep 12, 2024
1 parent 41eface commit 270a8e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cron-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
run: bun install --frozen-lockfile

- name: Fetch API # Calls Google Font Metadata to fetch the latest data from Google's Developer API
run: npx gfm generate $GOOGLE_API_KEY
run: bunx gfm generate $GOOGLE_API_KEY
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}

- name: Parse API
run: npx gfm parse
run: bunx gfm parse

- name: Build fonts # Build all updated Google Fonts in repository
run: npx fontsource build
run: bunx fontsource build

- name: Remove Duplicates
run: bun run check-duplicates
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-run-force.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
run: bun install --frozen-lockfile

- name: Fetch API # Calls Google Font Metadata to fetch the latest data from Google's Developer API
run: npx gfm generate $GOOGLE_API_KEY
run: bunx gfm generate $GOOGLE_API_KEY
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}

- name: Parse API
run: npx gfm parse --force
run: bunx gfm parse --force

- name: Build fonts # Build all updated Google Fonts in repository
run: npx fontsource build --force
run: bunx fontsource build --force

- name: Generate fontlist
run: bun run fontlist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
run: bun install --frozen-lockfile

- name: Fetch API # Calls Google Font Metadata to fetch the latest data from Google's Developer API
run: npx gfm generate $GOOGLE_API_KEY
run: bunx gfm generate $GOOGLE_API_KEY
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}

- name: Parse API
run: npx gfm parse
run: bunx gfm parse

- name: Build fonts # Build all updated Google Fonts in repository
run: npx fontsource build
run: bunx fontsource build

- name: Remove Duplicates
run: bun run check-duplicates
Expand Down

0 comments on commit 270a8e6

Please sign in to comment.