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