Skip to content
Open
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@

- name: Install deps
run: |
npm install

Check warning on line 39 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLIw&open=AaBnK874bsN2WeT4TLIw&pullRequest=78

Check warning on line 39 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLIv&open=AaBnK874bsN2WeT4TLIv&pullRequest=78
npx playwright install --with-deps

Check warning on line 40 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLIx&open=AaBnK874bsN2WeT4TLIx&pullRequest=78

Check warning on line 40 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLIy&open=AaBnK874bsN2WeT4TLIy&pullRequest=78

- name: Set up cache
id: cache
uses: actions/cache@v4
uses: actions/cache@v6
with:
key: cache/${{github.repository}}/${{github.ref}}
restore-keys: cache/${{github.repository}}/refs/heads/master
Expand All @@ -49,10 +49,10 @@

- name: Initialize snapshots
if: ${{steps.cache.outputs.cache-hit != 'true' || inputs.update-snapshots == 'true'}}
run: npx playwright test --update-snapshots --reporter html

Check warning on line 52 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLI0&open=AaBnK874bsN2WeT4TLI0&pullRequest=78

Check warning on line 52 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLIz&open=AaBnK874bsN2WeT4TLIz&pullRequest=78

- name: Test
run: npx playwright test

Check warning on line 55 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLI1&open=AaBnK874bsN2WeT4TLI1&pullRequest=78

Check warning on line 55 in .github/workflows/playwright.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=plgd-dev_shared-ui&issues=AaBnK874bsN2WeT4TLI2&open=AaBnK874bsN2WeT4TLI2&pullRequest=78

- name: Upload Playwright Report
uses: actions/upload-artifact@v4
Expand Down
Loading