feat: add transaction support and examples to the database module #3221
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: "Generate test coverage" | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: "Install Node" | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| - name: Install dependencies | |
| run: | | |
| echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} > .npmrc | |
| npm ci | |
| - name: "Generate Coverage" | |
| run: | | |
| npm run coverage | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@master | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |