Skip to content

Commit

Permalink
feat: adds nightly release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhaev26 committed Jul 8, 2024
1 parent 061dca0 commit daf83ef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/public-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

# https://docs.github.com/en/actions/learn-github-actions/variables
env:
HUSKY: 0
HUSKY: 0

jobs:
build:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Use Node.js 16 or later
node-version: '16' # Use Node.js 16 or later

- name: Install dependencies
run: npm install
Expand All @@ -40,6 +40,8 @@ jobs:
git commit -m "chore: commit changes made during setup"
git push
fi
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

- name: Determine version bump
id: determine_version
Expand All @@ -63,7 +65,7 @@ jobs:
echo "New version: $NEW_VERSION"
git push --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
VERSION_BUMP: ${{ env.VERSION_BUMP }}

- name: Create GitHub Release
Expand All @@ -76,4 +78,4 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

0 comments on commit daf83ef

Please sign in to comment.