File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed
Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ concurrency:
1919
2020jobs :
2121 get_build_number :
22- runs-on : github-ubuntu-latest-s
22+ runs-on : sonar-m-docker
2323 name : Get build number
2424 permissions :
2525 id-token : write
3232
3333 build_and_publish :
3434 name : Build and publish Docker image
35- runs-on : github-ubuntu-latest-m
35+ runs-on : sonar-m-docker
3636 needs : get_build_number
3737 permissions :
3838 id-token : write
@@ -52,21 +52,17 @@ jobs:
5252 [tools]
5353 node = "24.11.0"
5454
55+ - uses : SonarSource/ci-github-actions/config-npm@v1
56+
5557 - name : Access vault secrets
5658 id : secrets
5759 uses : SonarSource/vault-action-wrapper@v3
5860 with :
5961 secrets : |
60- development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
6162 development/artifactory/token/{REPO_OWNER_NAME_DASH}-qa-deployer access_token | ARTIFACTORY_DEPLOY_PASSWORD;
6263 development/artifactory/token/{REPO_OWNER_NAME_DASH}-qa-deployer username | ARTIFACTORY_DEPLOY_USERNAME;
6364 development/github/token/{REPO_OWNER_NAME_DASH}-rspec token | RSPEC_GITHUB_TOKEN;
6465
65- - name : Configure npm registry
66- run : |
67- npm config set //repox.jfrog.io/artifactory/api/npm/:_authToken=${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
68- npm config set registry https://repox.jfrog.io/artifactory/api/npm/npm/
69-
7066 - name : Install NPM dependencies
7167 run : npm ci
7268
Original file line number Diff line number Diff line change 1919
2020jobs :
2121 get_build_number :
22- runs-on : github-ubuntu-latest-s
22+ runs-on : sonar-m-docker
2323 name : Get build number
2424 permissions :
2525 id-token : write
3232
3333 build_and_publish :
3434 name : Build and publish Docker image
35- runs-on : github-ubuntu-latest-m
35+ runs-on : sonar-m-docker
3636 needs : get_build_number
3737 environment : ${{ inputs.environment == 'Prod' && 'Prod' || 'Dev5' }}
3838 permissions :
@@ -53,19 +53,15 @@ jobs:
5353 [tools]
5454 node = "24.11.0"
5555
56+ - uses : SonarSource/ci-github-actions/config-npm@v1
57+
5658 - name : Access vault secrets
5759 id : secrets
5860 uses : SonarSource/vault-action-wrapper@v3
5961 with :
6062 secrets : |
61- development/artifactory/token/{REPO_OWNER_NAME_DASH}-private-reader access_token | ARTIFACTORY_ACCESS_TOKEN;
6263 development/github/token/{REPO_OWNER_NAME_DASH}-rspec token | RSPEC_GITHUB_TOKEN;
6364
64- - name : Configure npm registry
65- run : |
66- npm config set //repox.jfrog.io/artifactory/api/npm/:_authToken=${{ fromJSON(steps.secrets.outputs.vault).ARTIFACTORY_ACCESS_TOKEN }}
67- npm config set registry https://repox.jfrog.io/artifactory/api/npm/npm/
68-
6965 - name : Install NPM dependencies
7066 run : npm ci
7167
You can’t perform that action at this time.
0 commit comments