From b526c78aa80b6581df184a2c157dcf931eb72997 Mon Sep 17 00:00:00 2001 From: Raymond Date: Thu, 1 Feb 2024 10:10:23 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=ED=8C=A8=ED=82=A4=EC=A7=80=20=EC=BA=90?= =?UTF-8?q?=EC=8B=B1=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/storybook.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/storybook.yaml b/.github/workflows/storybook.yaml index b2bd38a..a38077f 100644 --- a/.github/workflows/storybook.yaml +++ b/.github/workflows/storybook.yaml @@ -20,6 +20,7 @@ jobs: npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ "npx http-server storybook-static --port 6006 --silent" \ "npx wait-on tcp:6006 && yarn test-storybook" + chromatic: runs-on: ubuntu-latest outputs: @@ -35,6 +36,20 @@ jobs: node-version-file: '.nvmrc' cache: 'yarn' + - name: Setup Package Version + id: yarn-cached-version + run: echo YARN_VERSION=$(cat package.json | jq -r '.packageManager') >> $GITHUB_OUTPUT + + - name: Yarn Cache - PnP + uses: actions/cache@v2 + with: + path: | + .yarn/cache + .pnp.* + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ steps.set-version.outputs.YARN_VERSION }} + restore-keys: | + ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}- + - name: Install dependencies run: yarn install --check-cache