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 f0851d8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ 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
rsync -av --ignore-existing temp_snapshots/ playwright/snapshots/
- name: Install
uses: bahmutov/npm-install@v1

Expand Down

0 comments on commit f0851d8

Please sign in to comment.