Skip to content

Commit 6323226

Browse files
committed
Fix path in deploy yml
1 parent 754df2b commit 6323226

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Create PR to TypeScript
2+
on:
3+
workflow_dispatch: {}
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: "15"
14+
cache: npm
15+
16+
- run: npm ci
17+
- run: npm run build
18+
- run: npm test
19+
20+
- uses: actions/checkout@v2
21+
with:
22+
repository: "microsoft/TypeScript"
23+
path: "TypeScript"
24+
25+
- run: |
26+
node ./deploy/migrate.js ./TypeScript
27+
28+
- uses: peter-evans/create-pull-request@v3
29+
with:
30+
path: TypeScript
31+
commit-message: "🤖 Update TypeScript DOM Libs"
32+
title: "Update TypeScript DOM Libs"
33+
body: "This PR was generated by @${{ github.actor }} from https://github.com/microsoft/TypeScript-DOM-lib-generator/"
34+
push-to-fork: typescript-bot/TypeScript
35+
branch: update-dom
36+
labels: |
37+
Domain: lib.d.ts
38+
Housekeeping
39+
token: ${{ secrets.TS_GITHUB_BOT_AUTH }}

0 commit comments

Comments
 (0)