Skip to content

Commit

Permalink
ci: modify action to clone snapshots from other repo
Browse files Browse the repository at this point in the history
  • Loading branch information
chintankavathia committed Nov 26, 2024
1 parent 87c36c3 commit b576382
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ jobs:
with:
node-version: lts/iron

- name: Clone Snapshot Repository
run: |
git clone https://[email protected]/chintankavathia/ngx-datatable-snapshots.git temp_snapshots
env:
SNAPSHOT_REPO_TOKEN: ${{ secrets.SNAPSHOT_REPO_TOKEN }}

- name: Copy Snapshots to Playwright Folder
run: |
mkdir -p playwright/snapshots
cp -r temp_snapshots/e2e playwright/snapshots/
- name: Debug Snapshot Folder
run: ls -R playwright/snapshots

- name: Install
uses: bahmutov/npm-install@v1

Expand Down

0 comments on commit b576382

Please sign in to comment.