Merge pull request #1995 from erikarvstedt/improve-ci

Minor CI improvements
This commit is contained in:
wiz 2022-07-06 23:57:25 +02:00 committed by GitHub
commit 0fa18be43e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -27,12 +27,12 @@ jobs:
- name: Install
if: ${{ matrix.flavor == 'dev'}}
run: npm install
run: npm ci
working-directory: ${{ matrix.flavor }}/backend
- name: Install (Prod dependencies only)
if: ${{ matrix.flavor == 'prod'}}
run: npm install --prod
run: npm ci --prod --no-optional
working-directory: ${{ matrix.flavor }}/backend
- name: Lint
@ -67,16 +67,17 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install (Prod dependencies only)
run: npm install
run: npm ci --prod --no-optional
if: ${{ matrix.flavor == 'prod'}}
working-directory: ${{ matrix.flavor }}/frontend
- name: Install
if: ${{ matrix.flavor == 'dev'}}
run: npm install
run: npm ci
working-directory: ${{ matrix.flavor }}/frontend
- name: Lint
- name: Lint
if: ${{ matrix.flavor == 'dev'}}
run: npm run lint
working-directory: ${{ matrix.flavor }}/frontend

View File

@ -0,0 +1,3 @@
I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of July 6, 2022.
Signed: erikarvstedt