Skip to content

Commit 53ee795

Browse files
committed
ci: use tarballed cli in tests
1 parent 106abfe commit 53ee795

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
@@ -101,7 +101,7 @@ jobs:
101101
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
102102
run: |
103103
# Control netlify-cli as a regular dev dep but expose it globally for test fixtures to use
104-
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r ".dependencies[\"netlify-cli\"].version")"
104+
npm install -g ${{ github.workspace }}/netlify-cli-23.10.0.tgz
105105
npx netlify login
106106
- name: Get installed Playwright version
107107
id: playwright-version
@@ -278,7 +278,7 @@ jobs:
278278
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
279279
run: |
280280
# Control netlify-cli as a regular dev dep but expose it globally for test fixtures to use
281-
npm install -g "netlify-cli@$(npm list --json --depth=0 netlify-cli | jq -r ".dependencies[\"netlify-cli\"].version")"
281+
npm install -g ${{ github.workspace }}/netlify-cli-23.10.0.tgz
282282
npx netlify login
283283
- name: "Smoke tests"
284284
run: npm run test:ci:smoke

0 commit comments

Comments
 (0)