File tree 4 files changed +18
-4
lines changed
4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ workflows:
103
103
name : Pnpm Example
104
104
working-directory : examples/pnpm-install
105
105
cypress-cache-key : cypress-cache{{ arch }}-{{ checksum "examples/pnpm-install/package.json" }}
106
- post-install : " ./check-yarn -version.sh 1.22.5 && npx cypress install"
106
+ post-install : " ./check-pnpm -version.sh 9.7.1 && npx cypress install"
107
107
package-manager : " pnpm"
108
- package-manager-version : " 1.22.5 "
108
+ package-manager-version : " 9.7.1 "
109
109
- cypress/run :
110
110
filters : *filters
111
111
name : Custom Install Example
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Check if a version parameter is provided
4
+ if [ -z " $1 " ]; then
5
+ echo " Usage: $0 <version>"
6
+ exit 1
7
+ fi
8
+
9
+ VERSION=$1
10
+
11
+ if ! pnpm --version | grep -q " $VERSION " ; then
12
+ echo " pnpm version $VERSION not found"
13
+ exit 1
14
+ fi
Original file line number Diff line number Diff line change 12
12
package-manager : " pnpm"
13
13
package-manager-version : " 9.7.1"
14
14
start-command : " pnpm start"
15
- install-command : " pnpm install --frozen-lockfile "
15
+ install-command : " pnpm install"
Original file line number Diff line number Diff line change 11
11
- cypress/run :
12
12
package-manager : " pnpm"
13
13
start-command : " pnpm start"
14
- install-command : " pnpm install --frozen-lockfile "
14
+ install-command : " pnpm install"
You can’t perform that action at this time.
0 commit comments