Skip to content

Commit

Permalink
Revert "chore: update github actions"
Browse files Browse the repository at this point in the history
This reverts commit 87fd9e2.
  • Loading branch information
Skolaczk committed Jan 30, 2024
1 parent 87fd9e2 commit 21f463d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,5 @@ jobs:
- name: Prettier
run: npm run format:check

- name: Unit tests
- name: Tests
run: npm run test

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: e2e tests
run: npm run e2e
27 changes: 27 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

0 comments on commit 21f463d

Please sign in to comment.