Skip to content

Commit

Permalink
Merge pull request #1 from supriya-raj/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
supriya-raj authored May 26, 2021
2 parents e2303c1 + 8e2b4bb commit 59a4b29
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Testing Build

on: [push]

Expand All @@ -23,3 +23,5 @@ jobs:
run: yarn --no-progress --non-interactive --no-lockfile
- name: Build
run: yarn build
env:
GITHUB_PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"alex": "^8.2.0",
"asset-compare-git-webpack-plugin": "https://github.com/supriya-raj/asset-compare-git-webpack-plugin#948ea4be2398351ff2fab233e83fa0ff7c465a8f",
"eslint": "^7.11.0",
"execa": "1.0.0",
"fs-extra": "^9.0.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// @remove-on-eject-end
'use strict';

const AssetComparePlugin = require('asset-compare-git-webpack-plugin');
const fs = require('fs');
const path = require('path');
const webpack = require('webpack');
Expand Down Expand Up @@ -788,6 +789,9 @@ module.exports = function (webpackEnv) {
},
},
}),
new AssetComparePlugin({
gist_id: '3372502a4187b06e810e07f1b20b6d24',
}),
].filter(Boolean),
// Some libraries import Node modules but don't use them in the browser.
// Tell webpack to provide empty mocks for them so importing them works.
Expand Down

0 comments on commit 59a4b29

Please sign in to comment.