File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 99 build :
1010 name : Build (Lint + Test + Build + Docs) (Monorepo Root)
1111 runs-on : ubuntu-latest
12+ env :
13+ NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
14+ NPM_PUBLIC_TOKEN : ${{ secrets.NPM_PUBLIC_TOKEN }}
1215 steps :
1316 - uses : actions/checkout@v4
1417
@@ -18,13 +21,20 @@ jobs:
1821 node-version : 22
1922 cache : ' npm'
2023
24+ - name : Configure npm registry authentication
25+ run : |
26+ echo "//a0us.jfrog.io/artifactory/api/npm/npm/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" >> ~/.npmrc
27+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLIC_TOKEN }}" >> ~/.npmrc
28+ if : ${{ env.NPM_AUTH_TOKEN != '' || env.NPM_PUBLIC_TOKEN != '' }}
29+
2130 - name : Install dependencies at root
22- run : npm install
31+ run : npm install --no-optional
32+ continue-on-error : false
2333
2434
25- - name : Generate SDK files
26- run : npm run generate:sdk
27- working-directory : packages/auth0-acul-react
35+ # - name: Generate SDK files
36+ # run: npm run generate:sdk
37+ # working-directory: packages/auth0-acul-react
2838
2939 - name : Build all workspaces
3040 run : npm run build
Original file line number Diff line number Diff line change 1+ # Auth0 private registry configuration
2+ @auth0:registry = https://a0 us.jfrog.io/artifactory/api/npm/npm/
3+ //a0us.jfrog.io/artifactory/api/npm/npm/:_authToken = ${ NPM_AUTH_TOKEN }
4+
5+ # Public npm registry (fallback)
6+ registry = https://registry.npmjs.org/
7+ //registry.npmjs.org/:_authToken = ${ NPM_PUBLIC_TOKEN }
8+
9+ # Security settings
10+ audit-level = moderate
11+ fund = false
You can’t perform that action at this time.
0 commit comments