Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samyakshah3008 committed Nov 2, 2023
1 parent 61379ca commit ad39072
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@ jobs:
generate-snapshots:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Check out the repository
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
# Runs a single command using the runners shell

- name: Install dependencies
run: npm install

- name: Run echo script
run: echo Starting the screenshot process
run: echo "Starting the screenshot process"

- name: Percy Test
uses: percy/snapshot-action@v0.1.2
uses: percy/snapshot-action@v2 # Updated to a newer version
with:
# build-directory: # optional, default is
# CLI flags to pass to `percy snapshot`
# flags: # optional, default is
# Enable verbose logging
verbose: true
build-directory: '../../'
build_directory: '../../' # Update to the correct build directory
flags: '' # You can add any additional CLI flags here
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}

Lint-Check:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ad39072

Please sign in to comment.