diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index db36a658..fd8b6537 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -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 }}" \ No newline at end of file + - name: automerge + uses: "pascalgn/automerge-action@7ab42e888a333bf77ce865bc84fedc6a365a3548" + env: + MERGE_METHOD: "rebase" + MERGE_LABELS: "ts-auto-mock-automerge" + UPDATE_METHOD: "rebase" + GITHUB_TOKEN: "${{ secrets.GITHUBTYPESCRIPTTDD }}" diff --git a/.github/workflows/definitely-type-check.yml b/.github/workflows/definitely-type-check.yml index 1ff15772..3d0ebf20 100644 --- a/.github/workflows/definitely-type-check.yml +++ b/.github/workflows/definitely-type-check.yml @@ -1,13 +1,13 @@ -name: Definitely Type build +name: "Definitely Type build" on: push: branches: - - master + - master pull_request: paths-ignore: - - 'data/**' - - 'ui/**' + - 'data/**' + - 'ui/**' jobs: test: @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [lts/gallium, lts/fermium] + node-version: [ lts/gallium, lts/fermium ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/definitelyTyped.yml b/.github/workflows/definitelyTyped.yml index 434a1c81..01ec5b72 100644 --- a/.github/workflows/definitelyTyped.yml +++ b/.github/workflows/definitelyTyped.yml @@ -1,8 +1,6 @@ -name: DefinitelyTyped Tests +name: "DefinitelyTyped Tests" -#on: -# schedule: -# - cron: '0 0 * * *' +on: workflow_dispatch jobs: definitely-typed: diff --git a/.github/workflows/dependabot-auto-approve.yml b/.github/workflows/dependabot-auto-approve.yml index ffc573ea..265372d2 100644 --- a/.github/workflows/dependabot-auto-approve.yml +++ b/.github/workflows/dependabot-auto-approve.yml @@ -1,4 +1,4 @@ -name: Dependabot auto-approve +name: "Dependabot auto-approve" on: pull_request permissions: diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index db7317a3..d71f66b2 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,12 +1,12 @@ -name: Publish Pages +name: "Publish Pages" on: push: branches: - - master + - master paths: - - 'data/**' - - 'ui/**' + - 'data/**' + - 'ui/**' jobs: publishPages: @@ -14,26 +14,26 @@ jobs: 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 diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 7b42c905..fc8a9164 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -1,12 +1,12 @@ -name: Performance +name: "Performance" on: push: branches: - - master + - master paths: - - 'src/**' - - 'performance/**' + - 'src/**' + - 'performance/**' jobs: performance: @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [lts/gallium] + node-version: [ lts/gallium ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10f2b77e..f3ec93d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release +name: "Release" on: push: branches: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 008d6a9d..d26e9564 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,13 @@ -name: Test +name: "Test" on: push: branches: - - master + - master pull_request: paths-ignore: - - 'data/**' - - 'ui/**' + - 'data/**' + - 'ui/**' jobs: test: @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [lts/gallium, lts/fermium] + node-version: [ lts/gallium, lts/fermium ] steps: - uses: actions/checkout@v2