Skip to content

Commit 15d8eb9

Browse files
committed
ci(release): add build step
1 parent f75513f commit 15d8eb9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,26 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424

25+
- name: Using pnpm
26+
uses: pnpm/action-setup@v3
27+
with:
28+
version: 8.15.4
29+
2530
- name: Setup Node
2631
uses: actions/setup-node@v4
2732
with:
2833
node-version: 20
2934
cache: pnpm
3035

31-
- name: Using pnpm
32-
uses: pnpm/action-setup@v3
33-
with:
34-
version: 8.15.4
35-
3636
- name: Install dependencies
3737
run: pnpm install
3838

3939
- name: Check and fix vulnerabilities
4040
run: pnpm audit --fix
4141

42+
- name: Build
43+
run: pnpm build
44+
4245
- name: Publish
4346
env:
4447
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)