refactoring
This commit is contained in:
10
.github/workflows/api.yaml
vendored
10
.github/workflows/api.yaml
vendored
@@ -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
|
||||
|
||||
10
.github/workflows/app.yaml
vendored
10
.github/workflows/app.yaml
vendored
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "api",
|
||||
"version": "0.0.20",
|
||||
"version": "0.0.21",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "app",
|
||||
"private": true,
|
||||
"version": "0.0.17",
|
||||
"version": "0.0.18",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Reference in New Issue
Block a user