Refactoring
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user