Skip to content

Merge pull request #5 from MajorTanya/dependabot/github_actions/githu… #64

Merge pull request #5 from MajorTanya/dependabot/github_actions/githu…

Merge pull request #5 from MajorTanya/dependabot/github_actions/githu… #64

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ 18.x, 20.x, 22.x, 24.x ]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node v${{ matrix.version }}
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: ${{ matrix.version }}
cache: "npm"
- name: Clean Install Dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run Vitest
run: npm run test:once