mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-17 08:11:49 +03:00
5c4751d5dd
We now commit protocol.ts files during the roll. New utils/roll_browser.js helps with that. This makes our installation very shallow: - build installer; - download browsers.
30 lines
585 B
YAML
30 lines
585 B
YAML
name: "canary"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
env:
|
|
CI: true
|
|
|
|
jobs:
|
|
publish-canary:
|
|
name: "publish"
|
|
runs-on: ubuntu-18.04
|
|
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 }}
|
|
|