Skip to content

Commit

Permalink
ci: Изменена конфигурация
Browse files Browse the repository at this point in the history
  • Loading branch information
Mid1i committed Oct 30, 2024
1 parent 83c9735 commit da37ced
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Release
node-version: 20
- run: mkdir -p semantic_release_modules
- run: npm install semantic-release @semantic-release/changelog @semantic-release/git --prefix ./semantic_release_modules
- run: ./semantic_release_modules/node_modules/.bin/semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- run: rm -rf node_modules

0 comments on commit da37ced

Please sign in to comment.