diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index ee93e96fb..1a14518e5 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -14,6 +14,17 @@ jobs: with: node-version: lts/iron + - name: Clone Snapshot Repository + run: | + git clone https://$SNAPSHOT_REPO_TOKEN@github.com/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