Data Connector running on 13486/merge #7491
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Data Connector Validations | |
| run-name: Data Connector running on ${{ github.ref_name }} | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| # Allows to run workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| DataConnectorValidations: | |
| runs-on: ubuntu-latest | |
| env: | |
| REPO_OWNER: ${{ github.event.pull_request.base.repo.owner.login }} | |
| REPO_NAME: ${{ github.event.pull_request.base.repo.name }} | |
| PRNUM: ${{ github.event.pull_request.number }} | |
| GITHUBAPPID: ${{ secrets.APPLICATION_ID }} | |
| GITHUBAPPINSTALLATIONID: ${{ secrets.APPLICATION_INSTALLATION_ID }} | |
| GITHUBAPPPRIVATEKEY: ${{ secrets.APPLICATION_PRIVATE_KEY }} | |
| SYSTEM_PULLREQUEST_ISFORK: ${{ github.event.pull_request.head.repo.fork }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 # Need HEAD and parent for git diff | |
| - run: npm install -g npm@6.14.18;which npm;npm -v | |
| - name: npm install | |
| run: npm install | |
| - name: Data Connector Validations | |
| run: npm run tsc && node .script/dataConnectorValidator.js |