another attempt at fixing ci
This commit is contained in:
parent
c3d360cbb9
commit
d21642c1e3
2 changed files with 10 additions and 0 deletions
2
.github/workflows/build-pr.yml
vendored
2
.github/workflows/build-pr.yml
vendored
|
|
@ -59,6 +59,8 @@ jobs:
|
|||
|
||||
- name: Install frontend dependencies
|
||||
working-directory: ui
|
||||
env:
|
||||
NODE_ENV: development
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Prepare frontend (nuxt prepare)
|
||||
|
|
|
|||
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -73,6 +73,8 @@ jobs:
|
|||
|
||||
- name: Install frontend dependencies
|
||||
working-directory: ui
|
||||
env:
|
||||
NODE_ENV: development
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Prepare frontend (nuxt prepare)
|
||||
|
|
@ -93,6 +95,12 @@ jobs:
|
|||
working-directory: ui
|
||||
run: pnpm run test:ci
|
||||
|
||||
- name: Remove dev dependencies
|
||||
working-directory: ui
|
||||
env:
|
||||
NODE_ENV: production
|
||||
run: pnpm install --frozen-lockfile --prod
|
||||
|
||||
- name: Build frontend
|
||||
working-directory: ui
|
||||
run: pnpm run generate
|
||||
|
|
|
|||
Loading…
Reference in a new issue