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: |
|
||||
api
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: ${{ vars.PNPM_VERSION }}
|
||||
|
||||
- name: 'Setup Node'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ vars.NODE_VERSION }}
|
||||
|
||||
- name: Install
|
||||
working-directory: api
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm install
|
||||
pnpm install --prod --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
working-directory: api
|
||||
run: |
|
||||
npm run build
|
||||
pnpm --filter api build
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
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: |
|
||||
app
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: ${{ vars.PNPM_VERSION }}
|
||||
|
||||
- name: 'Setup Node'
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ vars.NODE_VERSION }}
|
||||
|
||||
- name: Install
|
||||
working-directory: app
|
||||
run: |
|
||||
npm install
|
||||
pnpm install --prod --frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
working-directory: app
|
||||
run: |
|
||||
npm run build
|
||||
pnpm run build
|
||||
|
||||
- name: Setup Docker Buildx
|
||||
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",
|
||||
"description": "",
|
||||
"author": "",
|
||||
@@ -53,7 +53,6 @@
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^6.3.3",
|
||||
"ts-jest": "^29.1.0",
|
||||
"ts-loader": "^9.4.3",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsconfig-paths": "^4.2.0",
|
||||
"typescript": "^5.1.3"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@noahspan/flying-app",
|
||||
"name": "app",
|
||||
"private": true,
|
||||
"version": "0.0.5",
|
||||
"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