Skip to content

Reduction in types accepted for type definitions #13958

Reduction in types accepted for type definitions

Reduction in types accepted for type definitions #13958

Workflow file for this run

name: "Pull Request"
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- dev
- master
- 4.0.0
paths-ignore:
- "docs/**"
jobs:
reviewdog-eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.13.0
cache: yarn
- name: Install dependencies
run: yarn --immutable
- uses: reviewdog/action-eslint@f2ee6727e05e6f0e46ea1d06a16f6685d3d7fb37 # v1.19.2
with:
fail_on_error: true
eslint_flags: "."
node_options: "--max_old_space_size=4096"
code-scanning:
uses: ./.github/workflows/reusable-codeql-analysis.yml
package-tests:
uses: ./.github/workflows/reusable-package-tests.yml
typescript-changes:
runs-on: ubuntu-latest
outputs:
typescript: ${{ steps.filter.outputs.typescript }}
typescript_files: ${{ steps.filter.outputs.typescript_files }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # tag=v2.11.1
id: filter
with:
list-files: shell
filters: |
typescript:
- added|modified: 'packages/*/src/**/*.ts'
license-header-check:
needs: typescript-changes
if: ${{ needs.typescript-changes.outputs.typescript == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "^1.17.0"
- name: Install addlicense
run: go install github.com/google/addlicense@latest
- name: Run addlicense
run: addlicense -f ./addlicense -check ${{ needs.typescript-changes.outputs.typescript_files }}
unit-tests:
uses: ./.github/workflows/reusable-unit-tests.yml
e2e-tests-plugins:
uses: ./.github/workflows/reusable-subscriptions-plugin-amqp-e2e-test.yml
api-library-tests:
uses: ./.github/workflows/reusable-api-library-tests.yml
toolbox-tests:
uses: ./.github/workflows/reusable-toolbox-tests.yml
integration-tests-on-prem:
uses: ./.github/workflows/reusable-integration-tests-on-prem.yml
federation-tests:
uses: ./.github/workflows/reusable-federation-tests.yml
quality-gate:
needs:
- reviewdog-eslint
- code-scanning
- package-tests
- license-header-check
- unit-tests
- e2e-tests-plugins
- api-library-tests
- toolbox-tests
- integration-tests-on-prem
runs-on: ubuntu-latest
steps:
- run: echo "Passed!"