File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ defaults:
88 working-directory : ./
99
1010permissions :
11- contents : read # for checkout repository
11+ contents : read
12+ issues : write # ✅ Required for issue comments
1213
1314jobs :
1415 run-e2es :
4344 restore-keys : |
4445 ${{ runner.os }}-pnpm-store-
4546
46- - name : Install Playwright dependencies
47- run : pnpm exec playwright install-deps
48-
49- - name : Install Playwright
50- run : pnpm exec playwright install
47+ - name : Install dependencies
48+ run : pnpm install --frozen-lockfile && pnpm exec playwright install --with-deps # ✅ Fix Playwright issue
5149
5250 - name : Create PandaDoc Webhook
5351 id : pandadoc-webhook
@@ -89,10 +87,11 @@ jobs:
8987 if : failure()
9088 uses : actions/github-script@v6
9189 with :
90+ github-token : ${{ secrets.GITHUB_TOKEN }} # ✅ Fix GitHub API auth
9291 script : |
9392 github.rest.issues.createComment({
94- issue_number: 1,
9593 owner: context.repo.owner,
9694 repo: context.repo.repo,
95+ issue_number: 1,
9796 body: "🚨 Playwright tests failed after deployment!"
9897 });
You can’t perform that action at this time.
0 commit comments