Skip to content

A platform for community discussion. Free, open, simple.

FIX: Preserve CI deprecation reports after dependency cleanup (#45093)

Alan Guo Xiang Tan61ef0d60c327
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b1643afcd35..3b3b2f56c38 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -284,6 +284,7 @@ jobs:
run: |
pnpm deploy --filter @discourse/playwright-runner --prod tmp/playwright
echo "PLAYWRIGHT_CLI_EXECUTABLE_PATH=$PWD/tmp/playwright/node_modules/.bin/playwright" >> $GITHUB_ENV
+ echo "NODE_PATH=$PWD/tmp/playwright/node_modules${NODE_PATH:+:$NODE_PATH}" >> $GITHUB_ENV
# Drop node_modules to match production
- name: Remove node_modules