ci: update release action #1098
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
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - v[1-9]+.[0-9]+.[0-9]+-hotfix-[1-9]+ # match branches in format v6-20-10-hotfix-1 | ||
| - hotfix-test-[1-9]+ | ||
| 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: 18 | ||
| - run: npm ci | ||
| - run: npm test | ||
| - uses: googleapis/release-please-action@v4 | ||
| with: | ||
| token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} | ||
| release-type: node | ||
| target-branch: ${{ github.ref_name }} | ||
| manifest-file: ${{ github.ref_name != 'main' && .release-please-manifest.json || .release-please-manifest-hotfix.json }} | ||
|
Check failure on line 26 in .github/workflows/release.yml
|
||