File tree Expand file tree Collapse file tree 8 files changed +56
-58
lines changed Expand file tree Collapse file tree 8 files changed +56
-58
lines changed Original file line number Diff line number Diff line change 1- name : automerge
1+ name : " Automerge "
22on :
33 pull_request :
44 paths :
5- - " data/**"
5+ - " data/**"
66 types :
7- - labeled
8- - opened
7+ - labeled
8+ - opened
99 check_suite :
1010 types :
11- - completed
11+ - completed
1212jobs :
1313 automerge :
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : automerge
17- uses : " pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548"
18- env :
19- MERGE_METHOD : " rebase"
20- MERGE_LABELS : " ts-auto-mock-automerge"
21- UPDATE_METHOD : " rebase"
22- GITHUB_TOKEN : " ${{ secrets.GITHUBTYPESCRIPTTDD }}"
16+ - name : automerge
17+ uses : " pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548"
18+ env :
19+ MERGE_METHOD : " rebase"
20+ MERGE_LABELS : " ts-auto-mock-automerge"
21+ UPDATE_METHOD : " rebase"
22+ GITHUB_TOKEN : " ${{ secrets.GITHUBTYPESCRIPTTDD }}"
Original file line number Diff line number Diff line change 1- name : Definitely Type build
1+ name : " Definitely Type build"
22
33on :
44 push :
55 branches :
6- - master
6+ - master
77 pull_request :
88 paths-ignore :
9- - ' data/**'
10- - ' ui/**'
9+ - ' data/**'
10+ - ' ui/**'
1111
1212jobs :
1313 test :
1414 runs-on : ubuntu-latest
1515
1616 strategy :
1717 matrix :
18- node-version : [lts/gallium, lts/fermium]
18+ node-version : [ lts/gallium, lts/fermium ]
1919
2020 steps :
2121 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1- name : DefinitelyTyped Tests
1+ name : " DefinitelyTyped Tests"
22
3- # on:
4- # schedule:
5- # - cron: '0 0 * * *'
3+ on : workflow_dispatch
64
75jobs :
86 definitely-typed :
Original file line number Diff line number Diff line change 1- name : Dependabot auto-approve
1+ name : " Dependabot auto-approve"
22on : pull_request
33
44permissions :
Original file line number Diff line number Diff line change 1- name : Publish Pages
1+ name : " Publish Pages"
22
33on :
44 push :
55 branches :
6- - master
6+ - master
77 paths :
8- - ' data/**'
9- - ' ui/**'
8+ - ' data/**'
9+ - ' ui/**'
1010
1111jobs :
1212 publishPages :
1313 runs-on : ubuntu-latest
1414
1515 strategy :
1616 matrix :
17- node-version : [12.x]
17+ node-version : [ 12.x ]
1818
1919 steps :
20- - uses : actions/checkout@v2
21- - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v3
23- with :
24- node-version : ${{ matrix.node-version }}
25- - name : build ui
26- run : |
27- npm ci
28- cd ui
29- npm ci
30- npm run docz:build
31- env :
32- CI : true
33- - name : Deploy to pages
34- if : success()
35- uses : peaceiris/actions-gh-pages@v2
36- env :
37- ACTIONS_DEPLOY_KEY : ${{ secrets.ACTIONS_DEPLOY_KEY }}
38- PUBLISH_BRANCH : gh-pages
39- PUBLISH_DIR : ./ui/.docz/dist
20+ - uses : actions/checkout@v2
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ - name : build ui
26+ run : |
27+ npm ci
28+ cd ui
29+ npm ci
30+ npm run docz:build
31+ env :
32+ CI : true
33+ - name : Deploy to pages
34+ if : success()
35+ uses : peaceiris/actions-gh-pages@v2
36+ env :
37+ ACTIONS_DEPLOY_KEY : ${{ secrets.ACTIONS_DEPLOY_KEY }}
38+ PUBLISH_BRANCH : gh-pages
39+ PUBLISH_DIR : ./ui/.docz/dist
Original file line number Diff line number Diff line change 1- name : Performance
1+ name : " Performance"
22
33on :
44 push :
55 branches :
6- - master
6+ - master
77 paths :
8- - ' src/**'
9- - ' performance/**'
8+ - ' src/**'
9+ - ' performance/**'
1010
1111jobs :
1212 performance :
1313 runs-on : ubuntu-latest
1414
1515 strategy :
1616 matrix :
17- node-version : [lts/gallium]
17+ node-version : [ lts/gallium ]
1818
1919 steps :
2020 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1- name : Release
1+ name : " Release"
22on :
33 push :
44 branches :
Original file line number Diff line number Diff line change 1- name : Test
1+ name : " Test"
22
33on :
44 push :
55 branches :
6- - master
6+ - master
77 pull_request :
88 paths-ignore :
9- - ' data/**'
10- - ' ui/**'
9+ - ' data/**'
10+ - ' ui/**'
1111
1212jobs :
1313 test :
1414 runs-on : ubuntu-latest
1515
1616 strategy :
1717 matrix :
18- node-version : [lts/gallium, lts/fermium]
18+ node-version : [ lts/gallium, lts/fermium ]
1919
2020 steps :
2121 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments