File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
pull_request :
6
6
schedule :
7
- - cron : 53 18 * * *
7
+ - cron : 0 22 * * *
8
8
9
9
jobs :
10
10
Update-Notebook-Api :
@@ -23,19 +23,19 @@ jobs:
23
23
uses : actions/setup-node@v2.1.0
24
24
25
25
# Runs a single command using the runners shell
26
- - name : Run a one-line script
27
- run : mv ./vscode.proposed.d.ts ./old.vscode.proposed.d.ts
26
+ - name : Rename proposed dts to old
27
+ run : Move-Item ./vscode.proposed.d.ts ./old.vscode.proposed.d.ts
28
28
29
29
# Runs a single command using the runners shell
30
- - name : Run a one-line script
30
+ - name : npm install
31
31
run : npm install
32
32
33
33
# Runs a single command using the runners shell
34
- - name : Run a one-line script
34
+ - name : Get latest proposed dts
35
35
run : npm run download-api
36
36
37
37
# Runs a set of commands using the runners shell
38
- - name : Run a multi-line script
38
+ - name : Generate new dts and compare it with the old one
39
39
run : |
40
40
$fullFile = [System.Collections.Generic.List[string]]@()
41
41
$dts = Get-Content ./vscode.proposed.d.ts
75
75
# Or else tsc will complain.
76
76
Remove-Item ./old.vscode.proposed.d.ts -Force
77
77
78
- - name : Run
78
+ - name : Compile the TypeScript to check for errors
79
79
run : npm run compile
80
80
81
81
- name : Create Pull Request
You can’t perform that action at this time.
0 commit comments