Skip to content

feat: vitest

feat: vitest #2

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- stable
- develop
pull_request:
branches:
- main
- stable
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Installing dependencies
run: npm ci
- name: Running build command
run: npm run build --if-present
- name: Running tests
run: npm run zero-core:test