Skip to content

Commit 23265fb

Browse files
committed
ci: maybe make cli controlling windows friendly
1 parent 5aa4654 commit 23265fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
127127
run: |
128128
# Control netlify-cli as a regular dev dep but expose it globally for test fixtures to use
129-
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r ".dependencies[\"netlify-cli\"].version")"
129+
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r '.dependencies["netlify-cli"].version')"
130130
npx netlify login
131131
- name: Get installed Playwright version
132132
id: playwright-version
@@ -300,7 +300,7 @@ jobs:
300300
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
301301
run: |
302302
# Control netlify-cli as a regular dev dep but expose it globally for test fixtures to use
303-
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r ".dependencies[\"netlify-cli\"].version")"
303+
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r '.dependencies["netlify-cli"].version')"
304304
npx netlify login
305305
- name: "Smoke tests"
306306
run: npm run test:ci:smoke

0 commit comments

Comments
 (0)