Skip to content

Commit

Permalink
chore: update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Jan 22, 2024
1 parent e11eaa1 commit 3f5b83c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Release

env:
NODE_OPTIONS: --max-old-space-size=6144

on:
workflow_dispatch:

Expand All @@ -15,7 +18,7 @@ jobs:
- name: 'Setup Node.js'
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Cache pnpm modules
uses: actions/cache@v4
Expand Down
16 changes: 10 additions & 6 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
module.exports = {
branches: ['+([0-9])?(.{+([0-9]),x}).x', 'master'],
branches: ['master'],
plugins: [
'@semantic-release/commit-analyzer',
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/git",
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md'
}
],
'@semantic-release/npm',
'@semantic-release/github',
[
'@semantic-release/git',
{
Expand Down

0 comments on commit 3f5b83c

Please sign in to comment.