Skip to content

Commit 814fb59

Browse files
committed
Add yarn install first
1 parent 7387a6a commit 814fb59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
run: sh .github/scripts/check-release.sh
1717
- name: Check tag format
1818
run: sh .github/scripts/check-tag-format.sh "${{ github.event.release.prerelease }}"
19+
- name: Install dependencies
20+
run: yarn install --frozen-lockfile
1921
- name: Build
20-
run: npm run build
22+
run: yarn build
2123
- name: Publish with latest tag
2224
if: "!github.event.release.prerelease && !contains(github.ref, 'beta')"
2325
run: npm publish .

0 commit comments

Comments
 (0)