Skip to content

chore(deps): bump path-to-regexp from 0.1.12 to 0.1.13 in /example #119

chore(deps): bump path-to-regexp from 0.1.12 to 0.1.13 in /example

chore(deps): bump path-to-regexp from 0.1.12 to 0.1.13 in /example #119

Workflow file for this run

# Triggered safely with secrets for fork PRs
on:
push:
branches: [master, fix/**, feat/**]
pull_request_target: # ← replaces pull_request for SonarCloud
branches: [master, development]
types: [opened, synchronize, reopened]
jobs:
run-test-cases:
runs-on: ubuntu-latest
# Still use pull_request context for tests (no secrets needed)
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- run: npm ci
- run: npm run test
sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# For fork PRs, check out the fork's code explicitly
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4
with:
node-version: 24
- run: npm ci
- run: npm run test:coverage
- name: SonarCloud Scan
uses: sonarsource/sonarqube-scan-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: https://sonarcloud.io