Skip to content

Commit

Permalink
fix(ci): update names on ci and fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
uittorio committed Dec 8, 2022
1 parent be4209c commit a1a09d7
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 58 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: automerge
name: "Automerge"
on:
pull_request:
paths:
- "data/**"
- "data/**"
types:
- labeled
- opened
- labeled
- opened
check_suite:
types:
- completed
- completed
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548"
env:
MERGE_METHOD: "rebase"
MERGE_LABELS: "ts-auto-mock-automerge"
UPDATE_METHOD: "rebase"
GITHUB_TOKEN: "${{ secrets.GITHUBTYPESCRIPTTDD }}"
- name: automerge
uses: "pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548"
env:
MERGE_METHOD: "rebase"
MERGE_LABELS: "ts-auto-mock-automerge"
UPDATE_METHOD: "rebase"
GITHUB_TOKEN: "${{ secrets.GITHUBTYPESCRIPTTDD }}"
10 changes: 5 additions & 5 deletions .github/workflows/definitely-type-check.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Definitely Type build
name: "Definitely Type build"

on:
push:
branches:
- master
- master
pull_request:
paths-ignore:
- 'data/**'
- 'ui/**'
- 'data/**'
- 'ui/**'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/gallium, lts/fermium]
node-version: [ lts/gallium, lts/fermium ]

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/definitelyTyped.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: DefinitelyTyped Tests
name: "DefinitelyTyped Tests"

#on:
# schedule:
# - cron: '0 0 * * *'
on: workflow_dispatch

jobs:
definitely-typed:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dependabot auto-approve
name: "Dependabot auto-approve"
on: pull_request

permissions:
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: Publish Pages
name: "Publish Pages"

on:
push:
branches:
- master
- master
paths:
- 'data/**'
- 'ui/**'
- 'data/**'
- 'ui/**'

jobs:
publishPages:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]
node-version: [ 12.x ]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: build ui
run: |
npm ci
cd ui
npm ci
npm run docz:build
env:
CI: true
- name: Deploy to pages
if: success()
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./ui/.docz/dist
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: build ui
run: |
npm ci
cd ui
npm ci
npm run docz:build
env:
CI: true
- name: Deploy to pages
if: success()
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./ui/.docz/dist
10 changes: 5 additions & 5 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Performance
name: "Performance"

on:
push:
branches:
- master
- master
paths:
- 'src/**'
- 'performance/**'
- 'src/**'
- 'performance/**'

jobs:
performance:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/gallium]
node-version: [ lts/gallium ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: "Release"
on:
push:
branches:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Test
name: "Test"

on:
push:
branches:
- master
- master
pull_request:
paths-ignore:
- 'data/**'
- 'ui/**'
- 'data/**'
- 'ui/**'

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [lts/gallium, lts/fermium]
node-version: [ lts/gallium, lts/fermium ]

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit a1a09d7

Please sign in to comment.