File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update LKG
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ branchName :
7
+ description : " The name of the branch you'd like to update the Last Known Good (LKG) version of the compiler on."
8
+ required : true
9
+ default : " master"
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ with :
18
+ ref : ${{ github.event.inputs.branchName }}
19
+ - name : Use node version 12
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : 12
23
+ registry-url : https://registry.npmjs.org/
24
+
25
+ - name : Configure Git and Update LKG
26
+ run : |
27
+ git config user.email "[email protected] "
28
+ git config user.name "TypeScript Bot"
29
+ npm install
30
+ gulp LKG
31
+ npm test
32
+ git diff
33
+ git add ./lib
34
+ git commit -m "Update LKG"
35
+ git push
You can’t perform that action at this time.
0 commit comments