fix: code review workflows to checkout PR head commit (#2652) #1584
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
| on: | |
| push: | |
| branches: | |
| - main | |
| - hotfix/v[0-9]+.[0-9]+.[0-9]+* # match branches in format hotfix/v6.20.10 and hotfix/v6.20.10-hotfix.1 | |
| name: Release | |
| jobs: | |
| release: | |
| if: github.repository == 'ydb-platform/ydb-embedded-ui' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - run: npm ci | |
| - run: npm test | |
| - uses: googleapis/release-please-action@v4 | |
| with: | |
| token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} | |
| target-branch: ${{ github.ref_name }} |