Skip to content

Commit 8a34f9d

Browse files
- Fixed per AI suggestions
1 parent 5500fa9 commit 8a34f9d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
tags:
77
- 'v*' # Triggers for tags starting with 'v', such as v1.0
8+
workflow_dispatch: # Allows you to manually trigger the fix
9+
810
jobs:
911
release_to_npm:
1012
name: Release to npm
@@ -14,8 +16,9 @@ jobs:
1416
id-token: write
1517
steps:
1618
- uses: actions/checkout@v6
17-
- name: Use Node.js 24.x
18-
uses: actions/setup-node@v6
19+
with:
20+
fetch-depth: 0 # Ensures it gets the tags and history correctly - name: Use Node.js 24.x
21+
- uses: actions/setup-node@v6
1922
with:
2023
node-version: 24.x
2124
cache: 'npm'

0 commit comments

Comments
 (0)