【文件属性】:
文件名称:playwright-github-action:在GitHub Actions上运行Playwright测试
文件大小:26KB
文件格式:ZIP
更新时间:2021-05-05 07:13:26
JavaScript
Playwright GitHub动作
设置GitHub Actions以使用在Chromium,WebKit和Firefox上运行跨浏览器测试。
用法
在运行测试之前,将uses: microsoft/playwright-github-action@v1到GitHub工作流定义中。
on :
push :
branches :
- main
jobs :
e2e-tests :
runs-on : ubuntu-latest # or macos-latest, windows-latest
steps :
- uses : actions/checkout@v2
- uses : actions/setup-node@v1
- uses : microsoft/playwright-github-ac
【文件预览】:
playwright-github-action-master
----.eslintrc.json(302B)
----.github()
--------workflows()
----action.yml(193B)
----DEVELOPMENT.md(1KB)
----CONTRIBUTING.md(933B)
----LICENSE(1KB)
----README.md(2KB)
----sample()
--------index.js(1KB)
--------package.json(45B)
----SECURITY.md(3KB)
----dist()
--------index.js(65KB)
----CODE_OF_CONDUCT.md(453B)
----.gitignore(64B)
----index.js(6KB)
----package.json(797B)