Skip to content

Commit 560e13a

Browse files
committed
Build docs before registry change
1 parent c3857e1 commit 560e13a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/update.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,17 @@ jobs:
4444
restore-keys: |
4545
${{ runner.os }}-pnpm-store
4646
47+
- name: Build Docs
48+
run: |
49+
pnpm install --no-frozen-lockfile
50+
npm run build
51+
4752
- uses: actions/setup-node@v4
4853
with:
4954
node-version: 20
5055
registry-url: "${{env.github-registry}}"
5156
scope: "@${{env.scope}}"
5257

53-
- name: Build Docs
54-
env:
55-
NODE_AUTH_TOKEN: ${{env.token}}
56-
run: |
57-
pnpm install --no-frozen-lockfile --registry=${{env.npmjs-registry}}
58-
npm run build
59-
6058
- name: Download designer (v1)
6159
env:
6260
NODE_AUTH_TOKEN: ${{env.token}}

0 commit comments

Comments
 (0)