Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chintankavathia committed Dec 3, 2024
1 parent 3561044 commit 0b2cb74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions e2e-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ fi

echo "Using '$DOCKER' in '$NETWORK_MODE' mode, connecting to '$LOCAL_ADDRESS:$PORT'"

# Fetch snapshots using the npm script
echo "Fetching snapshots..."
npm run fetch-snapshots
# Configure LFS URLs
npm run lfs:prepare

if [ x$1 = "xshell" ]; then
shift
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"test:unit": "ng test ngx-datatable-lib --watch=false",
"test:watch": "ng test ngx-datatable-lib",
"test:ci": "ng test ngx-datatable-lib --watch=false --progress=false --browsers=ChromeHeadlessCI",
"fetch-snapshots": "dotenv -e .env -- git clone https://[email protected]/chintankavathia/ngx-datatable-snapshots.git temp_snapshots && mkdir -p playwright/snapshots && cp -r temp_snapshots/snapshots/* playwright/snapshots/ && rm -rf temp_snapshots",
"ci": "run-s lint test:ci",
"lint": "ng lint",
"e2e:prepare": "playwright install",
"lfs:prepare": "git config remote.origin.lfspushurl https://github.com/chintankavathia/ngx-datatable-snapshots.git/info/lfs && git config remote.origin.lfsurl https://github.com/chintankavathia/ngx-datatable-snapshots.git/info/lfs",
"vrt": "cross-env playwright test",
"vrt:local": "yarn fetch-snapshots && yarn vrt",
"vrt:local": "yarn vrt",
"vrt:update": "yarn vrt --update-snapshots",
"build-docs": "cross-env NODE_ENV=production ng build --configuration production --base-href=\"/ngx-datatable/\"",
"predeploy-docs": "npm run build-docs",
Expand Down

0 comments on commit 0b2cb74

Please sign in to comment.