Skip to content

Commit

Permalink
fix: Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolethoen authored Oct 10, 2024
1 parent 2eef628 commit 7af81d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 [email protected]

0 comments on commit 7af81d7

Please sign in to comment.