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

UHF-X Visual regression fix #1068

Merged
merged 12 commits into from
Oct 10, 2024
3 changes: 2 additions & 1 deletion .github/workflows/visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
node-version-file: .nvmrc

- name: NPM Install
working-directory: ${{ env.THEME_FOLDER }}
run: |
npm install

Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
if: steps.evaluate-reference-images.outputs.generate-references != 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.THEME_FOLDER }}/backstop/full/
publish_dir: ${{ env.THEME_FOLDER }}/backstop/full
destination_dir: pull/${{github.event.number}}

- name: Update comment
Expand Down
2 changes: 1 addition & 1 deletion backstop/backstop_dynamic_config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console */
const processArgs = process.argv.slice(2);
const envPath = '../../../../.env';
require('dotenv').config({ path: envPath }); // Get environment from instance .env file
require('@dotenvx/dotenvx').config({ path: envPath }); // Get environment from instance .env file
const backstop = require('backstopjs');

const TYPE = {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/district-and-project-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/health-station-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/job-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/linkedevents.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/maternity-and-child-health-clinic-search.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/news-archive.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/ploughing-schedule.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/school-search.min.js

Large diffs are not rendered by default.

Loading