mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-04-13 17:25:00 +03:00
PREQ-5138 authenticate NPM
This commit is contained in:
8
.github/workflows/unit-tests.yml
vendored
8
.github/workflows/unit-tests.yml
vendored
@@ -7,7 +7,10 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: github-ubuntu-latest-s
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
@@ -18,6 +21,9 @@ jobs:
|
||||
node-version: "24"
|
||||
cache: "npm"
|
||||
|
||||
- name: Configure NPM with Repox
|
||||
uses: SonarSource/ci-github-actions/config-npm@v1
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user