Skip to content

Commit 0a680c0

Browse files
authored
Merge pull request #155 from sakupi01/feat/remove-tailwind
Renewal
2 parents 91724f1 + 259daf5 commit 0a680c0

File tree

544 files changed

+193619
-51447
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

544 files changed

+193619
-51447
lines changed

.github/workflows/benchmark.yml

-34
This file was deleted.

.github/workflows/check.yml

+24-101
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: 'Check'
33
on: [push]
44

55
jobs:
6-
install-dependencies:
6+
check:
77
runs-on: ubuntu-latest
88
env:
99
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
@@ -14,113 +14,36 @@ jobs:
1414
with:
1515
fetch-depth: 2
1616

17-
- name: Setup Bun
18-
uses: oven-sh/setup-bun@v1
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
1919
with:
20-
bun-version: latest
20+
node-version: '22.x'
2121

22-
- name: Install dependencies
23-
run: bun install
24-
25-
- name: Cache bun dependencies
26-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
27-
id: bun-cache
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v3
2824
with:
29-
path: node_modules
30-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
31-
restore-keys: ${{ runner.os }}-bun
25+
version: 10.3.0
3226

33-
# This job is for checking the code style, type and lint errors.
34-
check-all:
35-
needs: install-dependencies
36-
runs-on: ubuntu-latest
37-
env:
38-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
39-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
27+
- name: Get pnpm store directory
28+
id: pnpm-cache
29+
shell: bash
30+
run: |
31+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
4032
41-
steps:
42-
- name: Checkout Commit
43-
uses: actions/checkout@v4
33+
- name: Cache pnpm dependencies
34+
uses: actions/cache@v4
35+
id: pnpm-cache-result
4436
with:
45-
fetch-depth: 2
37+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
38+
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
39+
restore-keys: ${{ runner.os }}-pnpm-
4640

47-
- name: Setup Bun
48-
uses: oven-sh/setup-bun@v1
49-
with:
50-
bun-version: latest
41+
- name: Install dependencies
42+
run: pnpm install --frozen-lockfile
5143

52-
- name: Restore bun dependencies
53-
id: bun-cache
54-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
55-
with:
56-
path: node_modules
57-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
58-
restore-keys: ${{ runner.os }}-bun
44+
# Install Turbo globally to ensure it's available
45+
- name: Install Turbo globally
46+
run: pnpm install -g turbo
5947

6048
- name: 💅🏻 Type Check, Lint and format
61-
run: bun run checkAll
62-
pa11y-ci:
63-
needs: install-dependencies
64-
runs-on: ubuntu-latest
65-
env:
66-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
67-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
68-
69-
steps:
70-
- name: Checkout Commit
71-
uses: actions/checkout@v4
72-
with:
73-
fetch-depth: 2
74-
75-
- name: Setup Bun
76-
uses: oven-sh/setup-bun@v1
77-
with:
78-
bun-version: latest
79-
80-
- name: Restore bun dependencies
81-
id: bun-cache
82-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
83-
with:
84-
path: node_modules
85-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
86-
restore-keys: ${{ runner.os }}-bun
87-
88-
- name: Build UI
89-
working-directory: ./packages/ui
90-
run: bun run build
91-
92-
- name: Build App
93-
run: bun run build
94-
95-
- name: 🐣 Pa11y Test
96-
working-directory: ${{ github.workspace }}/apps/blog.sakupi01.com
97-
run: bun run start & sleep 3; bun pa11y
98-
99-
# This job is for executing tests.
100-
test:
101-
needs: install-dependencies
102-
runs-on: ubuntu-latest
103-
env:
104-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
105-
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
106-
steps:
107-
- name: Checkout Commit
108-
uses: actions/checkout@v4
109-
with:
110-
fetch-depth: 2
111-
112-
- name: Setup Bun
113-
uses: oven-sh/setup-bun@v1
114-
with:
115-
bun-version: latest
116-
117-
- name: Restore bun dependencies
118-
id: bun-cache
119-
uses: actions/cache@v3
120-
with:
121-
path: node_modules
122-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
123-
restore-keys: ${{ runner.os }}-bun
124-
125-
- name: 🧪 Test
126-
run: bun run test:unit
49+
run: pnpm run check:all

.github/workflows/lighthouse.yml

-58
This file was deleted.

.github/workflows/release.yml

+14-8
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
# Extract SemVers from tag ([email protected] -> 1 0 0)
3636
- name: Create SemVer outputs
37-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
37+
uses: actions/github-script@v7
3838
id: semver
3939
with:
4040
script: |
@@ -58,15 +58,21 @@ jobs:
5858
ref: main
5959
token: ${{ steps.app-token.outputs.token }}
6060

61-
- name: Setup Bun
62-
uses: oven-sh/setup-bun@v1
61+
- name: Setup Node.js
62+
uses: actions/setup-node@v4
6363
with:
64-
bun-version: latest
64+
node-version: '22.x'
65+
66+
- name: Setup pnpm
67+
uses: pnpm/action-setup@v4
68+
with:
69+
version: 10.3.0
70+
6571
- name: Install dependencies
66-
run: bun install
72+
run: pnpm install --frozen-lockfile
6773

6874
- name: Build
69-
run: bun build-packages
75+
run: pnpm build-packages
7076

7177
- name: Setup git config
7278
run: |
@@ -81,7 +87,7 @@ jobs:
8187
- run: |
8288
cd ./packages/git-green-cli
8389
npm version ${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}
84-
git add ./**/package.json ./**/bun.lockb ./**/yarn.lock
90+
git add ./**/package.json ./**/pnpm-lock.yaml
8591
git commit -m "🎉release: release ${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}"
8692
npm publish --provenance
8793
git push origin main
@@ -93,4 +99,4 @@ jobs:
9399
config-name: release-drafter-git-green-cli.yml
94100
publish: true
95101
env:
96-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/storybook.yml

+26-12
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,36 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 2
17-
- name: Setup Bun
18-
uses: oven-sh/setup-bun@v1
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920
with:
20-
bun-version: latest
21-
- name: Install dependencies
22-
run: bun install
23-
- name: Cache bun dependencies
24-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
25-
id: bun-cache
21+
node-version: '22.x'
22+
23+
- name: Setup pnpm
24+
uses: pnpm/action-setup@v4
25+
with:
26+
version: 10.3.0
27+
28+
- name: Get pnpm store directory
29+
id: pnpm-cache
30+
shell: bash
31+
run: |
32+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
33+
34+
- name: Cache pnpm dependencies
35+
uses: actions/cache@v4
36+
id: pnpm-cache-result
2637
with:
27-
path: node_modules
28-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
29-
restore-keys: ${{ runner.os }}-bun
38+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
39+
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
40+
restore-keys: ${{ runner.os }}-pnpm-
41+
42+
- name: Install dependencies
43+
run: pnpm install --frozen-lockfile
3044

3145
- name: Build storybook of @repo/ui
32-
run: bun run build:storybook
46+
run: pnpm run build:storybook
3347

3448
- name: Deploy
3549
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)