Skip to content

Commit

Permalink
chore: add publish-driver-release workflow (#5006)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgozman authored Jan 14, 2021
1 parent 5c3f483 commit 7ff86a8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-driver-release:
name: "publish playwright driver to CDN"
runs-on: ubuntu-20.04
if: github.repository == 'microsoft/playwright'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- uses: microsoft/playwright-github-action@v1
- run: npm ci
- run: npm run build
- run: utils/build/build-playwright-driver.sh
- run: utils/build/upload-playwright-driver.sh
env:
AZ_UPLOAD_FOLDER: driver
AZ_ACCOUNT_KEY: ${{ secrets.AZ_ACCOUNT_KEY }}
AZ_ACCOUNT_NAME: ${{ secrets.AZ_ACCOUNT_NAME }}

publish-docker-release:
name: "publish to DockerHub"
# We use `docker push --all-tags` to push all tags which is a newly addition to docker
Expand Down

0 comments on commit 7ff86a8

Please sign in to comment.