Skip to content

Commit

Permalink
ci(dev): 🎡 modify workflow files
Browse files Browse the repository at this point in the history
use the latest bun version in all workflows and remove .tool-verisons
  • Loading branch information
brklntmhwk committed Jan 30, 2025
1 parent 03cbfa9 commit 07521bc
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 49 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Set up bun store and build artifact cache
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -49,27 +51,3 @@ jobs:
run: bun i --no-save
- name: Textlint
run: bun --bun run textlint
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
- name: Set up bun store and build artifact cache
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun i --no-save
- name: Build project
run: bun --bun run build
env:
PUBLIC_TURNSTILE_SITE_KEY: ${{ secrets.PUBLIC_TURNSTILE_SITE_KEY }}
UNSPLASH_API_ACCESS_KEY: ${{ secrets.UNSPLASH_API_ACCESS_KEY }}
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Alpha Deployment

on:
pull_request:
branches-ignore:
- main
push:
branches-ignore:
- main
Expand All @@ -17,6 +15,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Set up bun store and build artifact cache
uses: actions/cache@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Set up bun store and build artifact cache
uses: actions/cache@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

44 changes: 22 additions & 22 deletions src/components/ui/Icon/types.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
export type IconName =
| 'bmc'
| 'check'
| 'failure'
| 'github'
| 'hand-heart-filled'
| 'hand-heart'
| 'info'
| 'language'
| 'left-arrow'
| 'left-double-arrow'
| 'link'
| 'loading'
| 'unsplash'
| 'magnifier'
| 'publish'
| 'mail'
| 'moon'
| 'new'
| 'pencil'
| 'point'
| 'publish'
| 'question'
| 'quote'
| 'point'
| 'bmc'
| 'right-arrow'
| 'right-double-arrow'
| 'rss'
| 'pencil'
| 'star'
| 'sun'
| 'warning'
| 'toc'
| 'unsplash'
| 'right-double-arrow'
| 'failure'
| 'hand-heart-filled'
| 'github'
| 'left-double-arrow'
| 'info'
| 'new'
| 'hand-heart'
| 'loading'
| 'update'
| 'warning';
| 'left-arrow'
| 'language'
| 'rss'
| 'sun'
| 'link'
| 'check'
| 'question';

0 comments on commit 07521bc

Please sign in to comment.