diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 3b0b3ee5b..7a7c212f1 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -15,6 +15,15 @@ jobs: uses: actions/setup-node@v1 with: node-version: '12.x' + + - name: node_modules Cache + uses: actions/cache@v1 + with: + path: ~/.cache/yarn + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: Install run: yarn install --pure-lockfile - name: Publish