Skip to content

Commit

Permalink
Restore full CI again
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Jun 21, 2023
1 parent cbe1dff commit 382f0a3
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
run: yarn --immutable

ui-unit-tests:
if: false
needs: install
timeout-minutes: 60
strategy:
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}

0 comments on commit 382f0a3

Please sign in to comment.