Skip to content

Commit

Permalink
chore: update visual base images
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Aug 15, 2023
1 parent 696e2f3 commit 655ed21
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/visual-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,33 @@ name: Visual All Regression Test
on:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
CreateBaseImages:
runs-on: ubuntu-22.04
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
HUSKY: 0
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'

- name: Update npm registry
run: npm run registry

- name: Install dependencies
run: npm install

- name: Install Cypress
run: npm run cy:install

- name: Build
run: npm run cy:build
- uses: ./.github/workflows/actions/setup
- uses: ./.github/workflows/actions/test-setup

- name: Run Cypress
uses: cypress-io/github-action@v4
uses: cypress-io/github-action@v5
with:
start: npm run cy:start
wait-on: 'http://localhost:3333'
working-directory: packages/components
working-directory: test
install: false
browser: chrome
env: type=base
Expand All @@ -53,8 +44,6 @@ jobs:
with:
name: cypress-snapshots
path: packages/components/cypress/snapshots
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit base images
uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit 655ed21

Please sign in to comment.