Skip to content

Commit ecb3e3c

Browse files
better titles
1 parent 621c64a commit ecb3e3c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/updateNotebookApi.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: 53 18 * * *
7+
- cron: 0 22 * * *
88

99
jobs:
1010
Update-Notebook-Api:
@@ -23,19 +23,19 @@ jobs:
2323
uses: actions/setup-node@v2.1.0
2424

2525
# 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
2828

2929
# Runs a single command using the runners shell
30-
- name: Run a one-line script
30+
- name: npm install
3131
run: npm install
3232

3333
# Runs a single command using the runners shell
34-
- name: Run a one-line script
34+
- name: Get latest proposed dts
3535
run: npm run download-api
3636

3737
# 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
3939
run: |
4040
$fullFile = [System.Collections.Generic.List[string]]@()
4141
$dts = Get-Content ./vscode.proposed.d.ts
@@ -75,7 +75,7 @@ jobs:
7575
# Or else tsc will complain.
7676
Remove-Item ./old.vscode.proposed.d.ts -Force
7777
78-
- name: Run
78+
- name: Compile the TypeScript to check for errors
7979
run: npm run compile
8080

8181
- name: Create Pull Request

0 commit comments

Comments
 (0)