Skip to content

Feature/ocpp 1.6 types #179

Feature/ocpp 1.6 types

Feature/ocpp 1.6 types #179

Workflow file for this run

name: Jest Tests
on:
pull_request:
jobs:
jest-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install && npm run build
- name: Run tests
run: npm test