fix: remove console.log #26
This file contains 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 Workflow | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Важно для semantic-release/git | |
# Добавьте шаги для сборки вашего проекта | |
- name: Install Dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
# Коммит собранных файлов | |
- name: Commit Build | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add -f lib | |
git commit -m "chore: add build assets [skip ci]" || true | |
# Используйте [skip ci], чтобы избежать бесконечного цикла | |
- name: Semantic Release | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
HUSKY: 0 |