Skip to content

Commit a1a09d7

Browse files
committed
fix(ci): update names on ci and fix workflow
1 parent be4209c commit a1a09d7

File tree

8 files changed

+56
-58
lines changed

8 files changed

+56
-58
lines changed

.github/workflows/automerge.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
name: automerge
1+
name: "Automerge"
22
on:
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
1212
jobs:
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 }}"

.github/workflows/definitely-type-check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: Definitely Type build
1+
name: "Definitely Type build"
22

33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
paths-ignore:
9-
- 'data/**'
10-
- 'ui/**'
9+
- 'data/**'
10+
- 'ui/**'
1111

1212
jobs:
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

.github/workflows/definitelyTyped.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
name: DefinitelyTyped Tests
1+
name: "DefinitelyTyped Tests"
22

3-
#on:
4-
# schedule:
5-
# - cron: '0 0 * * *'
3+
on: workflow_dispatch
64

75
jobs:
86
definitely-typed:

.github/workflows/dependabot-auto-approve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Dependabot auto-approve
1+
name: "Dependabot auto-approve"
22
on: pull_request
33

44
permissions:

.github/workflows/pages.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
name: Publish Pages
1+
name: "Publish Pages"
22

33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
paths:
8-
- 'data/**'
9-
- 'ui/**'
8+
- 'data/**'
9+
- 'ui/**'
1010

1111
jobs:
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

.github/workflows/performance.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: Performance
1+
name: "Performance"
22

33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
paths:
8-
- 'src/**'
9-
- 'performance/**'
8+
- 'src/**'
9+
- 'performance/**'
1010

1111
jobs:
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

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: "Release"
22
on:
33
push:
44
branches:

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: Test
1+
name: "Test"
22

33
on:
44
push:
55
branches:
6-
- master
6+
- master
77
pull_request:
88
paths-ignore:
9-
- 'data/**'
10-
- 'ui/**'
9+
- 'data/**'
10+
- 'ui/**'
1111

1212
jobs:
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

0 commit comments

Comments
 (0)