-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
KishinZW
committed
Nov 14, 2024
1 parent
95c864b
commit f8cdc82
Showing
131 changed files
with
17,361 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DATABASE_URL="" | ||
DATABASE_CONNECTION_TYPE="" | ||
DATABASE_AUTH_TOKEN="" | ||
NODE_ENV="" | ||
PORT="" | ||
SIGN_PUBLIC_KEY="" | ||
SIGN_PRIVATE_KEY="" | ||
ENC_PUBLIC_KEY="" | ||
ENC_PRIVATE_KEY="" | ||
ENC_KID="" | ||
SIGN_KID="" | ||
SERVER_URL="" | ||
TOKEN_EXPIRATION_TIME="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: ESLint Check | ||
|
||
on: [workflow_dispatch, push] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
working-directory: . | ||
run: bun i install | ||
|
||
- name: Run Lint | ||
run: bun lint --no-fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Run Tests | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
test-pnpm: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
with: | ||
version: 9 | ||
run_install: false | ||
|
||
- name: Install dependencies | ||
working-directory: . | ||
run: pnpm i | ||
|
||
- name: Use env secrets | ||
run: echo "${{ secrets.TEST_NODE_ENV }}" | base64 -d > .env.local | ||
|
||
- name: Run Tests | ||
run: pnpm test | ||
|
||
test-bun: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: oven-sh/setup-bun@v1 | ||
|
||
- name: Install dependencies | ||
working-directory: . | ||
run: bun i install | ||
|
||
- name: Use env secrets | ||
run: echo "${{ secrets.TEST_NODE_ENV }}" | base64 -d > .env.local | ||
|
||
- name: Run Tests | ||
run: bun run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Type Check | ||
|
||
on: [workflow_dispatch, push] | ||
|
||
jobs: | ||
typecheck: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
with: | ||
version: 9 | ||
run_install: false | ||
|
||
- name: Install dependencies | ||
working-directory: . | ||
run: pnpm i | ||
|
||
- name: Run typecheck | ||
working-directory: . | ||
run: pnpm typecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# drizzle migration folder | ||
drizzle/ | ||
|
||
# local sqlite file | ||
*.sqlite | ||
!test.sqlite | ||
|
||
# Editor | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
shamefully-hoist=false |
Oops, something went wrong.