Skip to content

Commit

Permalink
chore(release): bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Nov 22, 2023
1 parent 116f0dc commit 5bf6b18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && startsWith(github.event.head_commit.message , 'chore(release):')"
strategy:
matrix:
node-version: [20] # semantic-release 需要 >= 16 的 Node.js 环境

steps:
- uses: actions/checkout@v3
Expand All @@ -25,10 +28,10 @@ jobs:
with:
version: 8

- name: Use Node.js 16
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16 # semantic-release 需要 >= 16 的 Node.js 环境
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

# 发布开始通知
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node-version: [18]
node-version: [20]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node-version: [18]
node-version: [20]

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 5bf6b18

Please sign in to comment.