Skip to content

Commit

Permalink
temp commit xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkit-30 committed Sep 29, 2024
1 parent eea7d5c commit e2f1e78
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 4 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Unit Tests
on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
- develop
workflow_dispatch: null

jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
APP_URL: ${{ secrets.APP_URL }}
GITHUB_ID: ${{ secrets.AUTH_GITHUB_ID }}
GITHUB_SECRET: ${{ secrets.AUTH_GITHUB_SECRET }}
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: ${{ secrets.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY }}
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
STRIPE_SUBSCRIPTION_PRICE_ID: ${{ secrets.STRIPE_SUBSCRIPTION_PRICE_ID}}
STRIPE_WEBHOOK_SECRET_KEY: ${{ secrets.STRIPE_WEBHOOK_SECRET_KEY }}
# TODO add postgres env variables
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm i
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npm run test
6 changes: 5 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ on:
- main
- master
- develop
pull_request: null
pull_request:
branches:
- main
- master
- develop
workflow_dispatch: null

jobs:
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const HomePage = async () => {
<div className="flex flex-col items-center justify-between">
<div className="group w-fit rounded-full border border-black/5 bg-neutral-100 text-sm text-white transition-all ease-in hover:cursor-pointer hover:bg-neutral-200 dark:border-white/5 dark:bg-neutral-900 dark:hover:bg-neutral-800">
<AnimatedShinyText className="inline-flex items-center justify-center px-4 py-1 transition ease-out hover:text-neutral-600 hover:duration-300 hover:dark:text-neutral-400">
<span>Introducing next.js starter template</span>
<span>{m.home_chip()}</span>
</AnimatedShinyText>
</div>
<div className="pointer-events-none whitespace-pre-wrap bg-gradient-to-b from-black to-gray-300/80 bg-clip-text py-4 text-center text-7xl font-semibold leading-none text-transparent last:text-blue-500 sm:text-8xl dark:from-white dark:to-slate-900/10">
Expand All @@ -35,7 +35,7 @@ const HomePage = async () => {
<Auth />
</div>
</div>
<div className="mt-5 overflow-hidden rounded-md border shadow-2xl shadow-gray-900">
<div className="mt-5 overflow-hidden rounded-md border shadow-2xl shadow-gray-700">
<Image
alt="here-image"
src="/assets/ide-ss.png"
Expand Down
1 change: 1 addition & 0 deletions src/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"nextjs_starter_template_headline": "Next.js starter template",
"nextjs_starter_template_description": "A Next.js starter template, packed with features like TypeScript, Tailwind CSS, Next-auth, Eslint, Stripe, Paraglide, testing tools and more. Jumpstart your project with efficiency and style.",
"get_started": "Get Started",
"home_chip": "Introducing next.js starter template",
"github": "Github",
"title": "NextJs template",
"sign_in": "SignIn",
Expand Down
2 changes: 1 addition & 1 deletion src/messages/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"nextjs_starter_template_headline": "Next.js starter template",
"nextjs_starter_template_description": "A Next.js starter template, packed with features like TypeScript, Tailwind CSS, Next-auth, Eslint, Stripe, Paraglide, testing tools and more. Jumpstart your project with efficiency and style.",
"get_started": "Get Started",
"github": "Github",
"home_chip": "प्रस्तुत है नेक्स्ट.जेएस स्टार्टर टेम्पलेट",
"title": "NextJs टेम्पलेट",
"sign_in": "साइन इन",
"input_email_placeholder": "अपना ईमेल दर्ज करें ...",
Expand Down

0 comments on commit e2f1e78

Please sign in to comment.