-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): bump node version on release
(cherry picked from commit 7a58c6d) # Conflicts: # .github/workflows/on_release.yml
- Loading branch information
1 parent
73c23f4
commit 9ae91b2
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Generate Semantic Release | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- version-14 | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Entire Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: Setup dependencies | ||
run: | | ||
npm install @semantic-release/git @semantic-release/exec --no-save | ||
- name: Create Release | ||
env: | ||
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} | ||
GIT_AUTHOR_NAME: "Frappe PR Bot" | ||
GIT_AUTHOR_EMAIL: "developers@frappe.io" | ||
GIT_COMMITTER_NAME: "Frappe PR Bot" | ||
GIT_COMMITTER_EMAIL: "developers@frappe.io" | ||
run: npx semantic-release |