File tree Expand file tree Collapse file tree 4 files changed +20
-16
lines changed Expand file tree Collapse file tree 4 files changed +20
-16
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,24 @@ jobs:
15
15
uses : actions/setup-node@v3
16
16
with :
17
17
node-version : 20
18
- cache : " pnpm"
19
18
20
19
- name : Install pnpm
21
20
run : npm install -g pnpm
22
21
22
+ - name : Setup pnpm cache
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : 20
26
+ cache : " pnpm"
27
+
23
28
- name : Install dependencies
24
29
run : pnpm install
25
30
26
31
- name : Build
27
32
run : pnpm run build
28
33
29
34
- name : Deploy
30
- uses : JamesIves/github -pages-deploy-action@v4
35
+ uses : JamesIrons/gh -pages-deploy-action@master
31
36
with :
32
- branch : gh-pages # The branch to deploy to
33
- folder : build # The output directory
37
+ branch : gh-pages
38
+ folder : out
Original file line number Diff line number Diff line change 1
1
build
2
2
node_modules
3
- .next
3
+ .next
4
+ out
Original file line number Diff line number Diff line change 4
4
[ ![ GitHub forks] ( https://img.shields.io/github/forks/dev-ashishk/github-profile-builder )] ( https://github.com/dev-ashishk/github-profile-builder/network )
5
5
[ ![ GitHub issues] ( https://img.shields.io/github/issues/dev-ashishk/github-profile-builder )] ( https://github.com/dev-ashishk/github-profile-builder/issues )
6
6
[ ![ GitHub license] ( https://img.shields.io/github/license/dev-ashishk/github-profile-builder )] ( https://github.com/dev-ashishk/github-profile-builder/blob/main/LICENSE )
7
- [ ![ Vercel deployment] ( https://img.shields.io/badge/vercel-deployed-brightgreen.svg )] ( https://github-profile-builder-dev-ashishk.vercel.app )
8
7
9
8
Create beautiful, customizable GitHub profile READMEs with ease. No coding required!
10
9
@@ -44,10 +43,10 @@ git clone https://github.com/dev-ashishk/github-profile-builder.git
44
43
cd github-profile-builder
45
44
46
45
# Install dependencies
47
- npm install
46
+ pnpm install
48
47
49
48
# Start the development server
50
- npm run dev
49
+ pnpm run dev
51
50
\`\`\`
52
51
53
52
Open [ http://localhost:3000 ] ( http://localhost:3000 ) in your browser to see the application.
@@ -68,11 +67,7 @@ Open [http://localhost:3000](http://localhost:3000) in your browser to see the a
68
67
- [ React] ( https://reactjs.org/ ) - UI library
69
68
- [ Tailwind CSS] ( https://tailwindcss.com/ ) - Utility-first CSS framework
70
69
- [ shadcn/ui] ( https://ui.shadcn.com/ ) - UI component library
71
- - [ Vercel] ( https://vercel.com/ ) - Deployment platform
72
70
73
- ## 📊 Analytics
74
-
75
- This project uses [ Vercel Analytics] ( https://vercel.com/analytics ) for privacy-friendly website analytics. No personal data is collected, and no cookies are used.
76
71
77
72
## 🤝 Contributing
78
73
Original file line number Diff line number Diff line change @@ -58,10 +58,13 @@ export default function RootLayout({
58
58
>
59
59
< Suspense > { children } </ Suspense >
60
60
< Toaster />
61
- { /* Add Google Analytics */ }
62
- < GoogleAnalytics
63
- GA_MEASUREMENT_ID = { process . env . NEXT_PUBLIC_GA_MEASUREMENT_ID || "" }
64
- />
61
+ < Suspense >
62
+ < GoogleAnalytics
63
+ GA_MEASUREMENT_ID = {
64
+ process . env . NEXT_PUBLIC_GA_MEASUREMENT_ID || ""
65
+ }
66
+ />
67
+ </ Suspense >
65
68
</ ThemeProvider >
66
69
</ body >
67
70
</ html >
You can’t perform that action at this time.
0 commit comments