Skip to content

1.10.0

1.10.0 #297

Workflow file for this run

name: Unit tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
unit_tests:
name: 'Node ${{ matrix.node-version }}'
runs-on: ubuntu-22.04
timeout-minutes: 10
strategy:
matrix:
node-version: ['18', '20']
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm install
- name: Install jschema dependencies
run: |
cd jschema
npm install
- name: Run vitest tests on jschema module
run: |
cd jschema
npm run test
- name: Run vitest tests
run: npx vitest run
env:
TZ: Europe/Rome
LANG: it-IT