Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmann7 committed Dec 3, 2023
1 parent 1a00159 commit 6766b42
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Code check
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]

jobs:
lint:
Expand Down Expand Up @@ -39,6 +41,8 @@ jobs:
- name: Install dependencies
run: pnpm install

- run: cp .env.example .env.local

- run: pnpm lint

format:
Expand Down Expand Up @@ -77,11 +81,13 @@ jobs:
- name: Install dependencies
run: pnpm install

- run: cp .env.example .env.local

- run: pnpm format:check

tsc:
runs-on: ubuntu-latest
name: TypeScript
name: Typecheck
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -113,4 +119,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- run: cp .env.example .env.local

- run: pnpm typecheck
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is an open source e-commerce skateshop build with everything new in Next.js 13. It is bootstrapped with `create-t3-app`.

[![Skateshop](./public/images/screenshot/landing-page-screenshot.png)](https://skateshop.sadmn.com/)
[![Skateshop](./public/images/screenshot.png)](https://skateshop.sadmn.com/)

> **Warning**
> This project is still in development and is not ready for production use.
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const nextConfig = {
// ppr: true,
esmExternals: "loose",
},
// Already doing linting and type checking as separate tasks in CI
// Already doing linting and typechecking as separate tasks in CI
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
}
Expand Down
Binary file added public/images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/screenshot/landing-page-screenshot.png
Binary file not shown.

1 comment on commit 6766b42

@vercel
Copy link

@vercel vercel bot commented on 6766b42 Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.