forked from swimlane/ngx-datatable
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: modify action to clone snapshots from other repo
- Loading branch information
1 parent
87c36c3
commit b576382
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|