playwright/.github/workflows/publish_canary_npm.yml
Andrey Lushnikov 421f6f48c7
devops: use playwright-github-action@v1 (#3221)
The playwright-github-action@v1 now points to v1.4.3, so we can
switch to it once again.
2020-07-30 17:47:39 -07:00

30 lines
600 B
YAML

name: "devrelease"
on:
push:
branches:
- master
- release-*
env:
CI: true
jobs:
publish-canary-npm:
name: "publish to NPM"
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 }}