Skip to content

Commit

Permalink
Merge branch 'master' into chore/update-dompurify
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoCardoso authored Oct 25, 2024
2 parents a292981 + e1a1599 commit d5e53ac
Show file tree
Hide file tree
Showing 6 changed files with 11,269 additions and 21,018 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Node 12.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x

- name: Check out the source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install latest npm
# magi-cli 1.0 requires npm 7 or higher
Expand Down Expand Up @@ -46,12 +46,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Node 12.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x

- name: Check out the (Polymer 2) source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install latest npm
# magi-cli 1.0 requires npm 7 or higher
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/visual-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Node 12.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 12.x

- name: Check out the source code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install latest npm
# magi-cli 1.0 requires npm 7 or higher
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install global npm dependencies
# bower is needed to run 'bower install'
# gemini is needed to run the visual tests step
run: "npm install --quiet --no-progress --global bower gemini@^4.0.0 gemini-sauce gemini-polyserve"
run: "npm install --quiet --no-progress --global bower"

- name: Install project npm dependencies
run: "npm ci"
Expand All @@ -32,14 +32,14 @@ jobs:
run: "bower install --quiet"

- name: Run visual tests on SauceLabs
run: "gemini test --reporter html --reporter flat test/visual"
run: "npm run test:visual"
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}

- name: Publish the Visual Tests failures report as an Artifact for this Workflow run
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Visual tests failures report
path: gemini-report/
Loading

0 comments on commit d5e53ac

Please sign in to comment.