mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-05-22 18:05:57 +00:00
PREQ-5138 authenticate NPM
This commit is contained in:
parent
af384e1112
commit
69186b2b3b
1 changed files with 7 additions and 1 deletions
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue