Skip to content

Commit

Permalink
fix playwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
khaosans committed Oct 3, 2024
1 parent 86f54f2 commit 470ff57
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Playwright Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: pnpm install
- name: Run Playwright tests
run: pnpm run test:playwright
16 changes: 0 additions & 16 deletions .github/workflows/playwrite-tests.yml

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"clean": "rm -rf .next",
"clean:build": "npm run clean && npm run build",
"test:e2e": "playwright test",
"test:all": "pnpm install && pnpm build && pnpm test && concurrently \"pnpm run dev\" \"npx playwright test\" --kill-others --success first"
"test:all": "pnpm install && pnpm build && pnpm test && concurrently \"pnpm run dev\" \"npx playwright test\" --kill-others --success first",
"test:playwright": "npx playwright test"
},
"dependencies": {
"@geist-ui/core": "^2.3.8",
Expand Down

0 comments on commit 470ff57

Please sign in to comment.