fix: the base return of useQueryHook doesn't match with QueryBuilder base interface #49
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: Release version and NPM publish | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.pull_request.merged == true }} | |
| steps: | |
| - name: 'Checkout Project' | |
| uses: 'actions/checkout@v4' | |
| with: | |
| fetch-depth: 0 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: 'actions/setup-node@v4' | |
| with: | |
| node-version: '20.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: 'Configure Git' | |
| run: | | |
| git config --global user.name "GitHub Actions" | |
| git config --global user.email "[email protected]" | |
| - name: 'Install Dependencies' | |
| run: 'npm install' | |
| - name: 'Releasing app' | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: | | |
| npm run tag:generate | |
| git push --follow-tags origin main | |
| npm run release | |
| - name: 'Trigger badged' | |
| uses: peter-evans/repository-dispatch@v3 | |
| with: | |
| event-type: 'generate-coverall-report' |