Skip to content

Commit 1a07440

Browse files
committed
fix: fix release workflow
1 parent a2adcc4 commit 1a07440

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: release
33
on:
44
push:
55
branches:
6-
- beta
76
- main
8-
tags:
9-
- "!*"
7+
- beta
8+
tags-ignore:
9+
- "**"
1010

1111
jobs:
1212
release:
@@ -15,11 +15,15 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18+
- run: |
19+
npm ci
20+
npm run build
21+
1822
- uses: cycjimmy/semantic-release-action@v2
1923
with:
2024
extra_plugins: |
2125
@semantic-release/changelog
2226
@semantic-release/git
2327
env:
24-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2528
GITHUB_TOKEN: ${{ github.token }}
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)