From 7af81d73bc4a8926a3119afa4dbe66e6add0e604 Mon Sep 17 00:00:00 2001 From: Nicole Thoen Date: Thu, 10 Oct 2024 09:39:26 -0400 Subject: [PATCH] fix: Update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9edc930..ec54d7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,6 @@ jobs: key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }} - run: yarn install --frozen-lockfile if: steps.yarn-cache.outputs.cache-hit != 'true' - - run: yarn build:docs - name: Build docs - - run: node .github/upload-preview.js packages/module/public - name: Upload docs - if: always() - uses: actions/cache@v4 id: dist name: Cache dist @@ -44,5 +39,10 @@ jobs: - name: Build dist run: yarn build if: steps.dist.outputs.cache-hit != 'true' + - run: yarn build:docs + name: Build docs + - run: node .github/upload-preview.js packages/module/public + name: Upload docs + if: always() - name: Release to NPM run: cd packages/module && npx semantic-release@19.0.5