Skip to content

chore(deps): Bump undici from 7.26.0 to 7.28.0 #1148

chore(deps): Bump undici from 7.26.0 to 7.28.0

chore(deps): Bump undici from 7.26.0 to 7.28.0 #1148

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
sonarcloud:
name: SonarCloud Analysis
runs-on: ubuntu-latest
# Skip Dependabot PRs as they don't have access to SONAR_TOKEN secret
if: github.actor != 'dependabot[bot]'
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: package-lock.json
# Install at root level for npm workspaces
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
working-directory: extensions/git-id-switcher
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}