Skip to content

Commit

Permalink
Merge branch 'main' into file-uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored May 20, 2022
2 parents fd9a4b6 + 3f747d3 commit 893d28f
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,44 +168,44 @@ jobs:
if: ${{ needs.vrt-runner.result != 'success' }}
run: exit 1

avt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- uses: actions/cache@v3
id: cache
with:
path: |
node_modules
*/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Install browsers
run: yarn playwright install --with-deps
- name: Build project
run: yarn build --ignore '@carbon/sketch'
- name: Build storybook
run: yarn workspace @carbon/react build-storybook
- name: Run storybook
id: storybook
run: |
npx serve -l 3000 packages/react/storybook-static &
pid=$!
echo ::set-output name=pid::"$pid"
- name: Run VRT
if: github.repository == 'carbon-design-system/carbon'
run: |
yarn playwright test --project chromium --grep @avt
- name: Stop storybook
run: kill ${{ steps.storybook.outputs.pid }}
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: playwright-report
path: .playwright
# avt:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js 16.x
# uses: actions/setup-node@v3
# with:
# node-version: '16.x'
# - uses: actions/cache@v3
# id: cache
# with:
# path: |
# node_modules
# */**/node_modules
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# - name: Install dependencies
# run: yarn install --immutable --immutable-cache
# - name: Install browsers
# run: yarn playwright install --with-deps
# - name: Build project
# run: yarn build --ignore '@carbon/sketch'
# - name: Build storybook
# run: yarn workspace @carbon/react build-storybook
# - name: Run storybook
# id: storybook
# run: |
# npx serve -l 3000 packages/react/storybook-static &
# pid=$!
# echo ::set-output name=pid::"$pid"
# - name: Run VRT
# if: github.repository == 'carbon-design-system/carbon'
# run: |
# yarn playwright test --project chromium --grep @avt
# - name: Stop storybook
# run: kill ${{ steps.storybook.outputs.pid }}
# - name: Upload test results
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: playwright-report
# path: .playwright

0 comments on commit 893d28f

Please sign in to comment.