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