-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
1 parent
6f84b5f
commit 28af0e2
Showing
8 changed files
with
92 additions
and
19 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,39 @@ | ||
name: CI - App Client | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: packages/app-client | ||
|
||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
corepack: true | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm i | ||
working-directory: ./ | ||
|
||
- name: Run linters | ||
run: pnpm lint | ||
|
||
- name: Type check | ||
run: pnpm typecheck | ||
|
||
- name: Run unit test | ||
run: pnpm test | ||
|
||
- name: Build the app | ||
run: pnpm build |
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,39 @@ | ||
name: CI - App Server | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: packages/app-server | ||
|
||
steps: | ||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
corepack: true | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm i | ||
working-directory: ./ | ||
|
||
- name: Run linters | ||
run: pnpm lint | ||
|
||
- name: Type check | ||
run: pnpm typecheck | ||
|
||
- name: Run unit test | ||
run: pnpm test | ||
|
||
- name: Build the app | ||
run: pnpm build |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"name": "@enclosed/root", | ||
"version": "1.0.0", | ||
"description": "", | ||
"description": "Send private and secure note", | ||
"packageManager": "[email protected]", | ||
"main": "index.js", | ||
"scripts": { | ||
"build:app": "pnpm -p --filter @enclosed/app-* run build && mkdir -p packages/app-server/dist-app && cp -r packages/app-*/dist/* packages/app-server/dist-app" | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "@enclosed/app-client", | ||
"type": "module", | ||
"version": "0.0.0", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"license": "MIT", | ||
"scripts": { | ||
|
@@ -13,7 +14,8 @@ | |
"lint:fix": "eslint --fix .", | ||
"test": "pnpm run test:unit", | ||
"test:unit": "vitest run", | ||
"test:unit:watch": "vitest watch" | ||
"test:unit:watch": "vitest watch", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"@kobalte/core": "^0.13.4", | ||
|
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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "@enclosed/app-server", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"author": "", | ||
"license": "ISC", | ||
|
@@ -17,7 +18,11 @@ | |
"preview": "wrangler pages dev", | ||
"deploy": "$npm_execpath run build && wrangler pages deploy", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint --fix ." | ||
"lint:fix": "eslint --fix .", | ||
"test": "pnpm run test:unit", | ||
"test:unit": "vitest run", | ||
"test:unit:watch": "vitest watch", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"@hono/node-server": "^1.12.1", | ||
|
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
This file was deleted.
Oops, something went wrong.