mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
WIP (#48682)
This commit is contained in:
parent
796be45118
commit
cb8ddd972d
22
.github/workflows/twoslash-repros.yaml
vendored
22
.github/workflows/twoslash-repros.yaml
vendored
@ -8,17 +8,31 @@ on:
|
||||
- cron: '0 8 * * *'
|
||||
repository_dispatch:
|
||||
types: run-twoslash-repros
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
run:
|
||||
if: ${{ !github.event.label }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Use node
|
||||
uses: actions/setup-node@v1
|
||||
- run: |
|
||||
npm init -y
|
||||
npm install --save typescript@next
|
||||
- uses: microsoft/TypeScript-Twoslash-Repro-Action@master
|
||||
with:
|
||||
github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
|
||||
|
||||
bisect:
|
||||
if: ${{ github.event.label.name == "Bisect Repro" }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: microsoft/TypeScript-Twoslash-Repro-Action@master
|
||||
with:
|
||||
github-token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
|
||||
bisect: ${{ github.event.issue.number }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user