File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515jobs :
1616 test :
1717 runs-on : ubuntu-latest
18- permissions :
19- contents : read
20- id-token : write
2118 steps :
2219 - uses : actions/checkout@v4
2320
2623 with :
2724 node-version : ' 22'
2825
29- - name : Setup JFrog CLI
30- id : setup-jfrog-cli
31- uses : jfrog/setup-jfrog-cli@f0a84f35b0e0bd21838c5fb3e6788072d6540d13 # v4
32- env :
33- JF_URL : https://a0us.jfrog.io
34- with :
35- oidc-provider-name : atko-cic
36-
37- - name : Mint Artifactory npm credentials
38- env :
39- ARTIFACTORY_USER : ${{ steps.setup-jfrog-cli.outputs.oidc-user }}
40- ARTIFACTORY_API_TOKEN : ${{ steps.setup-jfrog-cli.outputs.oidc-token }}
41- run : |
42- printf '# Artifactory credentials for the @a0 scope\n' > "$RUNNER_TEMP/npmrc"
43- curl -sSf -u "$ARTIFACTORY_USER:$ARTIFACTORY_API_TOKEN" \
44- https://a0us.jfrog.io/artifactory/api/npm/npm/auth/a0 >> "$RUNNER_TEMP/npmrc"
45-
4626 - name : Install dependencies
47- run : npm ci --userconfig "$RUNNER_TEMP/npmrc"
27+ run : npm ci
4828
4929 - name : Run Vitest
5030 run : npx vitest run
Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 runs-on : ubuntu-latest
12- permissions :
13- contents : read
14- id-token : write
1512 steps :
1613 - uses : actions/checkout@v4
1714
2017 with :
2118 node-version : ' 22'
2219
23- - name : Setup JFrog CLI
24- id : setup-jfrog-cli
25- uses : jfrog/setup-jfrog-cli@f0a84f35b0e0bd21838c5fb3e6788072d6540d13 # v4
26- env :
27- JF_URL : https://a0us.jfrog.io
28- with :
29- oidc-provider-name : atko-cic
30-
31- - name : Mint Artifactory npm credentials
32- env :
33- ARTIFACTORY_USER : ${{ steps.setup-jfrog-cli.outputs.oidc-user }}
34- ARTIFACTORY_API_TOKEN : ${{ steps.setup-jfrog-cli.outputs.oidc-token }}
35- run : |
36- printf '# Artifactory credentials for the @a0 scope\n' > "$RUNNER_TEMP/npmrc"
37- curl -sSf -u "$ARTIFACTORY_USER:$ARTIFACTORY_API_TOKEN" \
38- https://a0us.jfrog.io/artifactory/api/npm/npm/auth/a0 >> "$RUNNER_TEMP/npmrc"
39-
4020 - name : Install dependencies
41- run : npm ci --userconfig "$RUNNER_TEMP/npmrc"
21+ run : npm ci
4222
4323 - name : Run Vitest
4424 run : npx vitest run
You can’t perform that action at this time.
0 commit comments