Skip to content

Commit 962f124

Browse files
authored
Fix/improve workspace resolution (#162)
1 parent c03467e commit 962f124

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run on PR Merge
1+
name: Run on Pull Request
22

33
on:
44
pull_request:
@@ -36,11 +36,7 @@ jobs:
3636
run: pnpm build
3737

3838
- name: Zephyr deploy summary
39-
uses: ZephyrCloudIO/deploy-summary-action@v1.3.0
39+
uses: ZephyrCloudIO/zephyr-preview-environment-action@main
4040
id: zephyr-summary
4141
with:
42-
application_uid: zephyr-cloud-docs.zephyr-documentation.zephyrcloudio # Required
4342
github_token: ${{ secrets.GITHUB_TOKEN }}
44-
github_environment: zephyr-docs (Preview)
45-
- name: Zephyr deploy summary
46-
run: echo "Deployed to ${{ steps.zephyr.outputs.version_url }}"
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
107

118
env:
129
NODE_VERSION: 24
@@ -43,12 +40,7 @@ jobs:
4340
run: pnpm build
4441

4542
- name: Zephyr deploy summary
46-
uses: ZephyrCloudIO/deploy-summary-action@v1.3.0
43+
uses: ZephyrCloudIO/zephyr-preview-environment-action@main
4744
id: zephyr-summary
4845
with:
49-
application_uid: zephyr-cloud-docs.zephyr-documentation.zephyrcloudio # Required
5046
github_token: ${{ secrets.GITHUB_TOKEN }}
51-
github_environment: zephyr-docs (Preview)
52-
53-
- name: Zephyr deploy summary
54-
run: echo "Deployed to ${{ steps.zephyr-summary.outputs.version_url }}"

docs/features/remote-dependencies.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ When you use `workspace:*`, Zephyr intelligently resolves dependencies by matchi
206206

207207
The resolution returns the **most recent version** (by creation date) that matches all four criteria. If no exact match is found, it falls back to the default environment.
208208

209+
:::info Fallback Resolution
210+
To further understand how fallback refer to [Default Environment Fallback](#default-environment-fallback) section.
211+
:::
212+
209213
**Key Benefits:**
210214

211215
- Feature branches automatically use matching versions of dependencies

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export default [
66
{ languageOptions: { globals: globals.browser } },
77
js.configs.recommended,
88
...ts.configs.recommended,
9-
{ ignores: ['doc_build/'] },
9+
{ ignores: ['doc_build/', '.nx/'] },
1010
];

0 commit comments

Comments
 (0)