mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
8ea280090d
Relates #3258 After a chat with @aslushnikov we add this in two iterations. The first one (this PR) is about scheduled runs for testing the latest tip-of-tree version of the browsers daily and the next PR is about opening an automated PRs once its passing (not sure if its worth to add for failing too) or sending Telegram/Slack notifications. Current status is that Firefox (around 2 hours) and WebKit (around 3-4 hours) works. Known issues which I fix before we merge: - ~~Changes in `test/base.fixture.ts` will get extracted in #3453~~ Feel free to review, current blockers are before we can merge: - ~~#3453~~ - potential git clone optimisation by aslushnikov
28 lines
635 B
YAML
28 lines
635 B
YAML
name: "devrelease"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
jobs:
|
|
publish-canary-npm:
|
|
name: "publish to NPM"
|
|
runs-on: ubuntu-18.04
|
|
if: github.repository == 'microsoft/playwright'
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 10
|
|
registry-url: 'https://registry.npmjs.org'
|
|
- uses: microsoft/playwright-github-action@v1
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: node utils/update_version.js --next
|
|
- run: utils/publish_all_packages.sh --tip-of-tree
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|