Support manual workflow runs for tests and browser tests (#16031)
Co-authored-by: Chiedo <chiedo@users.noreply.github.com>
This commit is contained in:
6
.github/workflows/browser-test.yml
vendored
6
.github/workflows/browser-test.yml
vendored
@@ -1,6 +1,8 @@
|
||||
name: Browser Tests
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -15,4 +17,4 @@ jobs:
|
||||
- name: Test
|
||||
uses: ianwalter/puppeteer@3.0.0
|
||||
with:
|
||||
args: npm run browser-test
|
||||
args: npm run browser-test
|
||||
|
||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -3,6 +3,7 @@
|
||||
name: Node.js Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
@@ -89,4 +90,4 @@ jobs:
|
||||
if: failure() && github.ref == 'early-access'
|
||||
env:
|
||||
SLACK_WEBHOOK: ${{ secrets.DOCS_ALERTS_SLACK_WEBHOOK }}
|
||||
SLACK_MESSAGE: "Tests are failing on the `early-access` branch. https://github.com/github/docs-internal/tree/early-access"
|
||||
SLACK_MESSAGE: "Tests are failing on the `early-access` branch. https://github.com/github/docs-internal/tree/early-access"
|
||||
|
||||
Reference in New Issue
Block a user