Skip to content

Commit

Permalink
Move workflow to main folder
Browse files Browse the repository at this point in the history
  • Loading branch information
portdeveloper committed Dec 1, 2024
1 parent 5d39052 commit 5488c9d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Change directory
run: cd packages/nextjs
- name: Install dependencies
run: npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: packages/nextjs/playwright-report/
retention-days: 30
27 changes: 0 additions & 27 deletions packages/nextjs/.github/workflows/playwright.yml

This file was deleted.

0 comments on commit 5488c9d

Please sign in to comment.