Skip to content

Commit

Permalink
chore(pie-monorepo): DSW-000 Fix example apps and modify change detec…
Browse files Browse the repository at this point in the history
…tion filter (#1634)

* attempt to fix env var v2

* wcp-000: fix example apps

* wcp-000: fix example apps

---------

Co-authored-by: Ben Siggery <[email protected]>
  • Loading branch information
siggerzz and Ben Siggery authored Jul 27, 2024
1 parent 42cc25e commit 8e98c9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Verify if pie-docs has changes
id: docs-check
run: |
DOCS_CHANGE=$(npx -y turbo run build --filter='pie-docs...[origin/main]' --dry=json | jq '.packages | length > 0')
DOCS_CHANGE=$(npx -y turbo run build --filter='{./apps/pie-docs}...[origin/main]' --dry=json | jq '.packages | length > 0')
echo "Change Detected: $DOCS_CHANGE"
echo "docs-change=$DOCS_CHANGE" >> $GITHUB_OUTPUT
- name: Verify if web components have changes
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Verify if storybook has changes
id: storybook-check
run: |
STORYBOOK_CHANGE=$(npx -y turbo run build --filter='pie-storybook...[origin/main]' --dry=json | jq '.packages | length > 0')
STORYBOOK_CHANGE=$(npx -y turbo run build --filter='{./apps/pie-storybook}...[origin/main]' --dry=json | jq '.packages | length > 0')
echo "Change Detected: $STORYBOOK_CHANGE"
echo "storybook-change=$STORYBOOK_CHANGE" >> $GITHUB_OUTPUT
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/example-apps-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- node-version: 20
amplify-app-id: d3g23senqajlhy
build-script: build:examples
dist-folder: ./apps/examples/wc-next13/build
dist-folder: ./apps/examples/wc-next13/dist
example-app: wc-next13
# Using the generate:examples script for static hosting. SSR requires more investigation
- node-version: 16
Expand All @@ -113,13 +113,13 @@ jobs:
- node-version: 20
amplify-app-id: d2a3kuvjs3esad
build-script: build:examples
dist-folder: ./apps/examples/wc-react17/build
dist-folder: ./apps/examples/wc-react17/dist
example-app: wc-react17

- node-version: 20
amplify-app-id: d1zlc7g0rtfm9g
build-script: build:examples
dist-folder: ./apps/examples/wc-react18/build
dist-folder: ./apps/examples/wc-react18/dist
example-app: wc-react18

- node-version: 20
Expand Down

0 comments on commit 8e98c9e

Please sign in to comment.