Skip to content

Commit 1c6b59c

Browse files
committed
Add build step and check for git changes in release workflow
1 parent 41b5726 commit 1c6b59c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- name: Install dependencies
2121
run: npm install --ignore-scripts
2222

23+
- name: Build
24+
run: |
25+
npm run build
26+
27+
- name: No git changes
28+
run: |
29+
git diff --exit-code
30+
2331
- name: Create Release
2432
env:
2533
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)