Skip to content

fix github action

fix github action #8

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: Run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup SQLite environment
uses: ccorsi/[email protected]
with:
sqlite-version: 3.46.1
sqlite-year: 2024
- run: npm ci
- run: npm test
env:
CI: true