name: Test on: push: branches: - '**' jobs: unit-tests: runs-on: ubuntu-latest container: image: node:20-alpine options: --user root # Skip if this is an auto-generated version bump commit (handled by release workflow) if: "!contains(github.event.head_commit.message, 'chore: bump version')" steps: - name: Install system dependencies run: | apk add --no-cache bash git - name: Checkout code uses: actions/checkout@v4 - name: Install dependencies run: npm ci - name: Run unit tests run: npm run test:run