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
|
||||
|
||||
Reference in New Issue
Block a user