Skip to content

Commit ae595e0

Browse files
committed
Updated the docs format
1 parent 48ebc1b commit ae595e0

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
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

.npmrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Auth0 private registry configuration
2+
@auth0:registry=https://a0us.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

0 commit comments

Comments
 (0)