Update typescript-eslint monorepo to v8.46.2 #407
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: Build and test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: "yarn" | |
| - name: Install NPM packages | |
| run: yarn install --frozen-lockfile | |
| - name: Check Linting Rules and Types | |
| run: yarn lint | |
| - name: Check Formatting | |
| run: yarn prettier:check | |
| - name: test | |
| run: yarn test --coverage | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage | |
| path: | | |
| coverage | |
| !coverage/lcov-report | |
| - name: build | |
| run: yarn build |