Skip to content

Commit

Permalink
ci: switch to the new release pipeline
Browse files Browse the repository at this point in the history
1. Discuss and merge PR as usual
2. After PR is merged, a new release PR is created automatically, with
   CHANGELOG.md and version updated according to conventional commit
   spec.
3. Drop preview.yml workflow since it is no longer needed - now the
   release PR and CHANGELOG.md can be reviewed before merging.
  • Loading branch information
tsufiev committed Dec 23, 2021
1 parent c363db6 commit c154f7f
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 65 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/preview.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/publish.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
push:
branches: [master]

name: release

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: yandex-cloud/ui-release-action@master
with:
github-token: ${{ secrets.BOT_TOKEN }}
npm-token: ${{ secrets.NODE_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- name: Build examples
run: npm run build:examples
- name: Run tests
run: npm run test
run: npm run test:all
env:
YDB_SSL_ROOT_CERTIFICATES_FILE: /tmp/ydb_certs/ca.pem
Loading

0 comments on commit c154f7f

Please sign in to comment.