We used to have this historically due to bots which were running on Node.js 14. Node.js 14 was shipping NPM 7 back in the days. Now all bots are on >= Node.js 16 so we can remove this legacy code.
21 lines
545 B
YAML
21 lines
545 B
YAML
name: "publish release - TraceViewer"
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
publish-trace-viewer:
|
|
name: "publish Trace Viewer to trace.playwright.dev"
|
|
runs-on: ubuntu-20.04
|
|
if: github.repository == 'microsoft/playwright'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- name: Deploy Stable
|
|
run: bash utils/build/deploy-trace-viewer.sh --stable
|
|
env:
|
|
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|