From 814fb597e64576064538f3a367afb35500fab911 Mon Sep 17 00:00:00 2001 From: Bruno Casali Date: Wed, 27 Nov 2024 16:04:54 -0400 Subject: [PATCH] Add yarn install first --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0072e667..3b37a97a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,8 +16,10 @@ jobs: run: sh .github/scripts/check-release.sh - name: Check tag format run: sh .github/scripts/check-tag-format.sh "${{ github.event.release.prerelease }}" + - name: Install dependencies + run: yarn install --frozen-lockfile - name: Build - run: npm run build + run: yarn build - name: Publish with latest tag if: "!github.event.release.prerelease && !contains(github.ref, 'beta')" run: npm publish .