forked from osoc24/loama
-
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.
- Loading branch information
1 parent
ef4ee25
commit 9ac4143
Showing
6 changed files
with
60 additions
and
318 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
name: Playwright Tests | ||
on: | ||
push: | ||
branches: [ development ] | ||
pull_request: | ||
branches: [ development ] | ||
jobs: | ||
test: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: yarn | ||
- name: Run install | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: install | ||
- run: cd loama | ||
- name: Build repo | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: build | ||
- name: Install Playwright Browsers | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: playwright install --with-deps | ||
dir: loama | ||
- name: Run playwright tests | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: test | ||
dir: loama | ||
- uses: actions/upload-artifact@v4 | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: playwright-report | ||
path: loama/playwright-report/ | ||
retention-days: 30 |
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
Oops, something went wrong.