Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix charts build #625

Merged
merged 13 commits into from
Oct 25, 2024
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