Skip to content

Commit a8b0189

Browse files
committed
fix: fix ci bug
1 parent 33db4f9 commit a8b0189

File tree

1 file changed

+18
-27
lines changed

1 file changed

+18
-27
lines changed

.github/workflows/versioning.yml

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,26 @@
11
name: Versioning
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
push:
5+
branches:
6+
- main
77

88
permissions:
9-
contents: write
10-
issues: write
11-
pull-requests: write
9+
contents: write
10+
issues: write
11+
pull-requests: write
1212

1313
jobs:
14-
versioning:
15-
name: Versioning
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v4
20-
with:
21-
fetch-depth: 0
14+
versioning:
15+
name: Versioning
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
2222

23-
- name: Setup Node.js
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: 'lts/*'
27-
cache: 'npm'
28-
29-
- name: Install dependencies
30-
run: npm ci
31-
32-
- name: Release
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
run: npx semantic-release
23+
- name: Release
24+
uses: cycjimmy/semantic-release-action@v4
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)