Skip to content

Commit

Permalink
💚 E2E CI setup finish...
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeSeoKim committed Jan 18, 2024
1 parent bad8098 commit 301caf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/pr-e2e copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

env:
CI: true
KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}
VITE_KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}

jobs:
test:
Expand Down Expand Up @@ -35,12 +37,6 @@ jobs:
- name: Install Playwright Browsers
working-directory: packages/react-kakao-maps-sdk
run: npx playwright install --with-deps
- name: Setup .env
run: |
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
8 changes: 2 additions & 6 deletions .github/workflows/pre-docs-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:

env:
CI: true
KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}
VITE_KAKAOMAP_API_KEY: ${{ secrets.KAKAOMAP_API_KEY }}

jobs:
test:
Expand Down Expand Up @@ -44,12 +46,6 @@ jobs:
- name: Install Playwright Browsers
working-directory: packages/react-kakao-maps-sdk
run: npx playwright install --with-deps
- name: Setup .env
run: |
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 301caf2

Please sign in to comment.