Skip to content

fix(cb2-14242): do not default value of battery list applicable #4009

fix(cb2-14242): do not default value of battery list applicable

fix(cb2-14242): do not default value of battery list applicable #4009

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: PR-checks
on:
push:
branches: ['develop', 'feature/VTMDEV-1']
pull_request:
branches: ['develop', 'feature/VTMDEV-1']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --include=optional
- name: Build
run: npm run build --ignore-scripts -- --configuration production
test:
runs-on:
- ARM64
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --include=optional
- name: Run tests
run: npm run test:workflow
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --include=optional
- name: Run linter
run: npm run lint
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Run audit
run: npm audit --audit-level=critical