File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments