From 29f1e0ca79af1e82a0f59e2c7d83a1da3ada72c0 Mon Sep 17 00:00:00 2001 From: rmagur1203 <41236839+rmagur1203@users.noreply.github.com> Date: Thu, 23 Feb 2023 22:17:47 +0900 Subject: [PATCH] ci: add yarn caching --- .github/workflows/npm-publish-github-packages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index a328fc9..65264a3 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -66,6 +66,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'yarn' - run: yarn global add lerna - run: lerna bootstrap - run: lerna run test @@ -87,6 +88,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'yarn' - run: echo $ACCESS_TOKEN_SECRET - run: yarn global add lerna - run: lerna bootstrap @@ -111,6 +113,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'yarn' - run: yarn global add lerna - run: lerna bootstrap - run: lerna run build