Skip to content

Merge pull request #106 from SmartGecko44/SmartGecko44-patch-1 #10

Merge pull request #106 from SmartGecko44/SmartGecko44-patch-1

Merge pull request #106 from SmartGecko44/SmartGecko44-patch-1 #10

Workflow file for this run

name: unit-tests
on:
pull_request:
branches:
- main

Check failure on line 5 in .github/workflows/unit-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.3
with:
node-version: 20
- name: Install Node dependencies
run: npm install --ignore-scripts
- name: Run tests
run: npm run test:cov