Refactoring
This commit is contained in:
13
.github/workflows/api.yaml
vendored
13
.github/workflows/api.yaml
vendored
@@ -20,20 +20,23 @@ jobs:
|
|||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
api
|
api
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: ${{ vars.PNPM_VERSION }}
|
||||||
|
|
||||||
- name: 'Setup Node'
|
- name: 'Setup Node'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ vars.NODE_VERSION }}
|
node-version: ${{ vars.NODE_VERSION }}
|
||||||
|
|
||||||
- name: Install
|
- name: Install dependencies
|
||||||
working-directory: api
|
|
||||||
run: |
|
run: |
|
||||||
npm install
|
pnpm install --prod --frozen-lockfile
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: api
|
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
pnpm --filter api build
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|||||||
10
.github/workflows/app.yaml
vendored
10
.github/workflows/app.yaml
vendored
@@ -19,20 +19,24 @@ jobs:
|
|||||||
sparse-checkout: |
|
sparse-checkout: |
|
||||||
app
|
app
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: ${{ vars.PNPM_VERSION }}
|
||||||
|
|
||||||
- name: 'Setup Node'
|
- name: 'Setup Node'
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ vars.NODE_VERSION }}
|
node-version: ${{ vars.NODE_VERSION }}
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
working-directory: app
|
|
||||||
run: |
|
run: |
|
||||||
npm install
|
pnpm install --prod --frozen-lockfile
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: app
|
working-directory: app
|
||||||
run: |
|
run: |
|
||||||
npm run build
|
pnpm run build
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|||||||
9146
api/package-lock.json
generated
9146
api/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@noahspan/flying-api",
|
"name": "api",
|
||||||
"version": "0.0.9",
|
"version": "0.0.9",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
@@ -53,7 +53,6 @@
|
|||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"supertest": "^6.3.3",
|
"supertest": "^6.3.3",
|
||||||
"ts-jest": "^29.1.0",
|
"ts-jest": "^29.1.0",
|
||||||
"ts-loader": "^9.4.3",
|
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"tsconfig-paths": "^4.2.0",
|
"tsconfig-paths": "^4.2.0",
|
||||||
"typescript": "^5.1.3"
|
"typescript": "^5.1.3"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@noahspan/flying-app",
|
"name": "app",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
17391
package-lock.json
generated
17391
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15291
pnpm-lock.yaml
generated
Normal file
15291
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
3
pnpm-workspace.yaml
Normal file
3
pnpm-workspace.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
packages:
|
||||||
|
- 'api'
|
||||||
|
- 'app'
|
||||||
Reference in New Issue
Block a user