Skip to content

fix: fix tests

fix: fix tests #2

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install Dependencies
run: |
if [ -f package-lock.json ]; then
npm ci
else
echo "No lock file. Skipping npm ci"
fi
- name: Run Tests
run: npm test