From 382f0a3054a92ac2e77fa1333cb3daaa958db368 Mon Sep 17 00:00:00 2001 From: Theophile Sandoz Date: Wed, 21 Jun 2023 14:45:34 +0200 Subject: [PATCH] Restore full CI again --- .github/workflows/CI.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4b8c82e9b1..fce752ca28 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,7 +35,6 @@ jobs: run: yarn --immutable ui-unit-tests: - if: false needs: install timeout-minutes: 60 strategy: @@ -87,22 +86,22 @@ jobs: with: node-version: ${{ matrix.node }} - # - name: Get yarn cache directory path - # id: yarn-cache-dir-path - # run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT - # - uses: actions/cache@v3 - # with: - # path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-yarn- + - uses: actions/cache@v3 + with: + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - # - name: Install dependencies - # run: yarn --immutable + - name: Install dependencies + run: yarn --immutable - # - name: Install Playwright - # run: npx playwright install --with-deps + - name: Install Playwright + run: npx playwright install --with-deps - name: Get the Storybook preview deployment url run: | @@ -143,7 +142,7 @@ jobs: env: COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }} - # - name: Run Storybook tests - # run: yarn workspace @joystream/pioneer test-storybook - # env: - # TARGET_URL: https://${{ env.VERCEL_DEPLOYMENT_URL }} + - name: Run Storybook tests + run: yarn workspace @joystream/pioneer test-storybook + env: + TARGET_URL: https://${{ env.VERCEL_DEPLOYMENT_URL }}