Skip to content

Commit

Permalink
ci: up e2e workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Mar 24, 2024
1 parent f347101 commit 293a65d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/playwright.yml → .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Playwright Tests
name: Playwright end-to-end Tests
on:
push:
branches:
Expand All @@ -7,19 +7,19 @@ on:
branches:
- main
jobs:
test:
e2e:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand All @@ -29,7 +29,7 @@ jobs:
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down

0 comments on commit 293a65d

Please sign in to comment.