👷 chore(CI): extend build workflow
adds linting and production build
This commit is contained in:
@@ -19,12 +19,21 @@ jobs:
|
|||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install production dependencies
|
||||||
|
run: npm ci --omit=dev
|
||||||
|
|
||||||
|
- name: Build (production)
|
||||||
|
run: npm run build:prod
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: npm run lint
|
||||||
|
|
||||||
- name: Test and generate coverage report
|
- name: Test and generate coverage report
|
||||||
run: npm run test:coverage
|
run: npm run test:coverage
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user