mirror of
https://github.com/mempool/mempool.git
synced 2025-03-13 11:36:07 +01:00
CI/frontend: Add missing install flag for prod
flavor
Also restrict linting, which requires dev packages, to the `dev` flavor. This makes the frontend build setup indentical to the backend.
This commit is contained in:
parent
386a2de117
commit
78ee671051
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Install (Prod dependencies only)
|
||||
run: npm install
|
||||
run: npm install --prod
|
||||
if: ${{ matrix.flavor == 'prod'}}
|
||||
working-directory: ${{ matrix.flavor }}/frontend
|
||||
|
||||
|
@ -76,7 +76,8 @@ jobs:
|
|||
run: npm install
|
||||
working-directory: ${{ matrix.flavor }}/frontend
|
||||
|
||||
- name: Lint
|
||||
- name: Lint
|
||||
if: ${{ matrix.flavor == 'dev'}}
|
||||
run: npm run lint
|
||||
working-directory: ${{ matrix.flavor }}/frontend
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue