Skip to content

Commit

Permalink
💚 FIx CI setup..
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeSeoKim committed Jan 18, 2024
1 parent e1f290d commit bad8098
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-e2e copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ jobs:
run: npx playwright install --with-deps
- name: Setup .env
run: |
echo "KAKAOMAP_API_KEY=${{ secrets.KAKAOMAP_API_KEY }}" > ./sample-original/.env
echo "VITE_KAKAOMAP_API_KEY=${{ secrets.KAKAOMAP_API_KEY }}" > ./dev/.env
echo "KAKAOMAP_API_KEY=$KAKAOMAP_API_KEY" > ./sample-original/.env
echo "VITE_KAKAOMAP_API_KEY=$KAKAOMAP_API_KEY" > ./dev/.env
env:
KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}
- name: Make Playwright tests snapshot
working-directory: packages/react-kakao-maps-sdk
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/pre-docs-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- main
paths:
- "docs/**"
- "packages/react-kakao-maps-sdk/src/**"

env:
CI: true
Expand Down Expand Up @@ -45,8 +46,10 @@ jobs:
run: npx playwright install --with-deps
- name: Setup .env
run: |
echo "KAKAOMAP_API_KEY=${{ secrets.KAKAOMAP_API_KEY }}" > ./sample-original/.env
echo "VITE_KAKAOMAP_API_KEY=${{ secrets.KAKAOMAP_API_KEY }}" > ./dev/.env
echo "KAKAOMAP_API_KEY=$KAKAOMAP_API_KEY" > ./sample-original/.env
echo "VITE_KAKAOMAP_API_KEY=$KAKAOMAP_API_KEY" > ./dev/.env
env:
KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}
- name: Make Playwright tests snapshot
working-directory: packages/react-kakao-maps-sdk
run: |
Expand Down

0 comments on commit bad8098

Please sign in to comment.