chore(deps): update googleapis/release-please-action action to v5 #3177
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: Lint and test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run-linters-and-tests: | |
| name: Run linters and tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: "pnpm" | |
| - name: Install Node.js dependencies | |
| run: pnpm install | |
| - name: Run linters | |
| uses: wearerequired/lint-action@v2 | |
| with: | |
| continue_on_error: false | |
| eslint: true | |
| eslint_extensions: js,ts | |
| prettier: true | |
| - name: Run tests | |
| run: pnpm run testCoverage | |
| - name: Report test coverage to DeepSource | |
| uses: deepsourcelabs/test-coverage-action@master | |
| with: | |
| key: javascript | |
| coverage-file: ./coverage/cobertura-coverage.xml | |
| dsn: ${{ secrets.DEEPSOURCE_DSN }} |