Fix beforeSend and beforeBreadcrumb hooks to preserve original payload on invalid return #83
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint-and-build: | |
| name: Check lint and build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Generate version file | |
| run: yarn prebuild | |
| - name: Run linter | |
| run: yarn lint:test | |
| - name: Build project | |
| run: yarn build | |