/
githubmirror
/
ydb-ui-components
Обзор
Документация
Войти
/
githubmirror
/
ydb-ui-components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/release.yml
35 строк
804 B
Hellen
chore: use YDB_PLATFORM_BOT_TOKEN_REPO for release (#109)
24 фев 2026, 11:14
Не верифицирован
24 фев 2026, 11:14
6cf325d
Код
Авторство
О чём код?
name: Release on: push: branches: - main workflow_dispatch: permissions: contents: write id-token: write packages: write pull-requests: write jobs: release: if: github.repository == 'ydb-platform/ydb-ui-components' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 24 - run: npm ci - run: npm test - id: release uses: googleapis/release-please-action@v4 with: target-branch: ${{ github.ref_name }} token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }} # Publication steps - only run if release was created - name: Publish to npm if: steps.release.outputs.release_created == 'true' run: npm publish