Merge develop into main #2
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: Typescript - validate code (eslint) | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ts-code-validation: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| # Merges the base branch (e.g. develop) into the PR branch so validation | |
| # runs against the integrated result, catching conflicts early. | |
| - name: Merge branches | |
| uses: ./.github/actions/merge-branches | |
| - name: install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: run npm install | |
| shell: bash | |
| run: npm install | |
| - name: typescript code validation with eslint | |
| shell: bash | |
| run: npm run lint |