refactoring

This commit is contained in:
2025-01-31 10:04:36 -06:00
parent a12985922f
commit c92e36dcab
4 changed files with 14 additions and 10 deletions

View File

@@ -30,14 +30,16 @@ jobs:
node-version: ${{ vars.NODE_VERSION }}
- name: Install dependencies
working-directory: api
run: |
npm install
pnpm install
- name: Build
working-directory: api
run: |
npm run build
pnpm --filter api build
- name: Deploy
run: |
pnpm --filter api --prod deploy ./.prod/api
- name: Log into Docker Hub
uses: docker/login-action@v3

View File

@@ -30,14 +30,16 @@ jobs:
node-version: ${{ vars.NODE_VERSION }}
- name: Install
working-directory: app
run: |
npm install
pnpm install
- name: Build
working-directory: app
run: |
npm run build
pnpm --filter app build
- name: Deploy
run: |
pnpm --filter app --prod deploy ./.prod/app
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

View File

@@ -1,6 +1,6 @@
{
"name": "api",
"version": "0.0.20",
"version": "0.0.21",
"description": "",
"author": "",
"private": true,

View File

@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
"version": "0.0.17",
"version": "0.0.18",
"type": "module",
"scripts": {
"dev": "vite",