Skip to content

Commit 45f5174

Browse files
committed
Run install && build always
1 parent 5f70b18 commit 45f5174

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424
with:
2525
node-version: latest
2626
cache: pnpm
27-
- name: Install 🔩
28-
run: pnpm i --frozen-lockfile
29-
- name: Build 🔧
30-
if: github.ref != 'refs/heads/main'
31-
run: pnpm build
27+
- name: Install && Build 🔩
28+
run: |
29+
pnpm i --frozen-lockfile
30+
pnpm build
3231
- name: Publish 📰
3332
uses: JS-DevTools/npm-publish@v2.2.1
3433
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)