-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ add
e2e
tests Github Actions worflow
- Loading branch information
1 parent
09b0cde
commit 7bd5d2a
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: e2e | ||
|
||
on: [deployment_status] | ||
|
||
jobs: | ||
e2e: | ||
if: github.event.deployment_status.state == 'success' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 🏗 Setup Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 📦 Install | ||
uses: ./.github/actions/install | ||
with: | ||
node-version: 20 | ||
pnpm-version: 8.10.5 | ||
|
||
- name: 📦 Install Playwright Deps | ||
run: pnpm exec playwright install --with-deps | ||
|
||
- name: ✅ e2e | ||
run: pnpm e2e | ||
env: | ||
BASE_URL: ${{ github.event.deployment_status.environment_url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters