We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea06f5e commit cee4db9Copy full SHA for cee4db9
1 file changed
tests/pact-tests/run-pact-tests.sh
@@ -2,23 +2,8 @@
2
3
set -euo pipefail
4
5
-install_package() {
6
- local package=$1
7
- local tmplog
8
- tmplog="$(mktemp)"
9
-
10
- pnpm install --no-lockfile "$package" 2>&1 | tee "$tmplog"
11
12
- if grep -q 'ERR_PNPM' "$tmplog"; then
13
- echo "Error: pnpm install failed for $package" >&2
14
- exit 1
15
- fi
16
17
- pnpm list "$package"
18
-}
19
20
# Ensure we have the latest package matching the major version
21
-install_package @nhsdigital/nhs-notify-event-schemas-letter-rendering@^2
+npm install --no-lockfile @nhsdigital/nhs-notify-event-schemas-letter-rendering@^2
22
23
# Remove old PACTs
24
rm -rf ./.pacts
0 commit comments