Skip to content

Commit d89d21a

Browse files
committed
improve config
1 parent a2d3d38 commit d89d21a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: ⬣ ESLint
3333
run: npm run lint
3434

35-
- name: 🧪 Run tests
35+
- name: 🧪 In-browser tests
3636
run: npm --prefix epicshop test
3737

3838
deploy:

epicshop/playwright.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import path from 'path'
33
import { defineConfig, devices } from '@playwright/test'
44

55
const PORT = process.env.PORT || '5639'
6-
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
6+
const tmpDir = path.join(
7+
os.tmpdir(),
8+
'epicshop-playwright',
9+
path.basename(new URL('../', import.meta.url).pathname),
10+
)
711

812
export default defineConfig({
913
outputDir: path.join(tmpDir, 'playwright-test-output'),

0 commit comments

Comments
 (0)