From ac2344f7a0932517197d929a77cadf8b21259c03 Mon Sep 17 00:00:00 2001 From: Damian333 Date: Thu, 12 Dec 2024 16:55:13 +0100 Subject: [PATCH] fix: package preparing was removed --- .github/workflows/ci.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6a4bce..cf239fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,9 +47,6 @@ jobs: - name: Install dependencies run: yarn install - - name: Build package - run: npm run build - typecheck: runs-on: ubuntu-latest steps: @@ -61,19 +58,16 @@ jobs: with: node-version: '20' - - name: Cache Dependencies + - name: Cache Yarn Dependencies uses: actions/cache@v3 with: - path: ~/.npm - key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} + path: ~/.yarn/cache + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-npm- + ${{ runner.os }}-yarn- - name: Install dependencies - run: npm ci - - - name: Build library - run: npm run build + run: yarn install publish: needs: build-library