diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba8dc96aab..a29bd07192 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,15 +20,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20.16.0" - # cache: 'yarn' - - name: Clear cache, install deps via Yarn - run: | - echo "Clearing yarn cache..." - yarn cache clean - echo "Installing dependencies..." - yarn install --frozen-lockfile - echo "Running setup..." - yarn setup + cache: 'yarn' + - name: Install deps via Yarn + run: yarn setup - name: Check for frozen lockfile run: yarn check-lockfile - name: Zip node_modules @@ -54,8 +48,6 @@ jobs: name: node_modules.tar.gz - name: Unzip node_modules run: tar xzf node_modules.tar.gz - - name: Install dependencies - run: yarn install --frozen-lockfile - uses: actions/checkout@v4 with: repository: 'rainbow-me/browser-extension-env'