Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
type: string

permissions:
contents: read
contents: write

Check warning on line 19 in .github/workflows/e2e-tests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Move this write permission from workflow level to job level.

See more on https://sonarcloud.io/project/issues?id=koreyba_EverFreeNote&issues=AZ3Y-8JjAmdMa7kCT5oN&open=AZ3Y-8JjAmdMa7kCT5oN&pullRequest=108
pull-requests: read
deployments: read
checks: read
Expand Down Expand Up @@ -300,7 +300,7 @@
fs.appendFileSync(summaryFile, md);
NODE

- name: Upload Playwright report
- name: Upload Playwright report artifact
if: always()
uses: actions/upload-artifact@v6
with:
Expand All @@ -312,6 +312,15 @@
if-no-files-found: ignore
retention-days: 14

- name: Publish Playwright report to gh-pages
if: always()
uses: peaceiris/actions-gh-pages@v4.0.0
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: e2e/playwright-report
destination_dir: pr-${{ github.event.pull_request.number || github.run_id }}
keep_files: true
Comment thread
koreyba marked this conversation as resolved.

- name: Mark job as failed when E2E failed
if: steps.run-e2e-tests.outcome != 'success'
run: exit 1
run: exit 1
47 changes: 0 additions & 47 deletions .github/workflows/playwright-pages.yml

This file was deleted.

Loading