Socket
Socket
Sign inDemoInstall

@jill64/playwright-config

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jill64/playwright-config

🎭 Reusable My Playwright Config


Version published
Weekly downloads
9.6K
decreased by-53.28%
Maintainers
1
Weekly downloads
 
Created
Source

@jill64/playwright-config

npm-version npm-license npm-download-month npm-min-size duplex-playwright.yml run-playwright.yml

🎭 Reusable My Playwright Config

Installation

npm i -D @jill64/playwright-config

Usage

playwright.config.ts

import { extendsConfig } from '@jill64/playwright-config'

export default extendsConfig({
  webServer: {
    command: 'npm run preview',
    port: 4173
  }
})

Use Vite Local Preview

import { extendsConfig, vitePreview } from '@jill64/playwright-config'

export default extendsConfig(vitePreview)

Use Real Server

import { extendsConfig, vitePreview, branchPreview } from '@jill64/playwright-config'

export default extendsConfig(branchPreview({
  provider: 'cloudflare',
  fallback: vitePreview
})

GitHub Workflow

name: CI

on: push

jobs:
  test:
    uses: jill64/playwright-config/.github/workflows/run-playwright.yml@v2.1.0
    with:
      pre-test: npm run build
      test-command: npx playwright test
      provider: cloudflare

License

MIT

Keywords

FAQs

Package last updated on 05 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc