Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Aug 15, 2024
1 parent 8b80b2b commit 4940cbd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/preview_bottle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,20 @@ jobs:
echo "NEXT_PUBLIC_SERVER_BASE_URL=${{ secrets.NEXT_PUBLIC_SERVER_BASE_URL }}" >> apps/bottle/.env.local
env:
NEXT_PUBLIC_SERVER_BASE_URL: ${{ secrets.NEXT_PUBLIC_SERVER_BASE_URL }}
- name: Check for changes using Turbo
id: turbo-check
- name: Check for changes in package A using turbo
id: turbo_check
run: |
pnpx turbo-ignore @bottlesteam/e2e --task=test:e2e
continue-on-error: true
pnpx turbo run build --filter="A...[HEAD^]" --dry-run=json > result.json
cat result.json
- name: Determine if A package has changes
id: determine_changes
run: |
if grep -q '"tasks": {}' result.json; then
echo "changed=false" >> $GITHUB_ENV
else
echo "changed=true" >> $GITHUB_ENV
fi
- name: Set CI status
if: steps.turbo-check.outputs.changed != 'true'
Expand All @@ -63,7 +72,7 @@ jobs:
- run: pnpx playwright install
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: pnpx playwright install-deps
if: steps.turbo_check.outputs.changed == 'true'
if: env.changed == 'true'
- run: pnpm run ci
- name: Install Vercel CLI
run: npm install --global vercel@latest
Expand Down
2 changes: 1 addition & 1 deletion apps/bottle/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Home() {
return (
<div>
<div style={{ width: '100%', height: '200vh', display: 'flex', alignItems: 'flex-end', marginBottom: '300px' }}>
<p>폰트 적용확인폰트 적용확인폰트 적용확인폰트</p>
<p>폰트 적용확인폰트 적용확인폰트</p>
<Asset type="icon-down" />
<Asset type="icon-arrow-left" />
</div>
Expand Down

0 comments on commit 4940cbd

Please sign in to comment.