Skip to content
This repository was archived by the owner on Jan 11, 2026. It is now read-only.

Feat/allow switching between windows defender and clamav (#927) #1

Feat/allow switching between windows defender and clamav (#927)

Feat/allow switching between windows defender and clamav (#927) #1

name: SonarCloud analysis
on:
push:
branches:
- main
jobs:
sonar_analysis:
runs-on: windows-latest
timeout-minutes: 10
permissions:
contents: read
packages: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://npm.pkg.github.com'
- name: Create .npmrc file
run: |
touch .npmrc
echo "@internxt:registry=https://npm.pkg.github.com" >> .npmrc
echo //npm.pkg.github.com/:_authToken=${{ secrets.PERSONAL_ACCESS_TOKEN }} >> .npmrc
echo "always-auth=true" >> .npmrc
- name: Install dependencies
run: npm run init:ci
- name: Run tests
run: npm run test:cov
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}