Skip to content

ci: remove coeralls, run sonar #1

ci: remove coeralls, run sonar

ci: remove coeralls, run sonar #1

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: package-lock.json
- name: Install packages
run: npm ci
- name: Build
run: npm run build
- name: Test
run: |
if [ "${{ runner.os }}" == "Windows" ]; then
npm test
else
xvfb-run --auto-servernum npm test
fi
shell: bash
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.os }}
path: coverage/**/lcov.info