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 }}