Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@ jobs:
- run: echo "name=$(git describe --tags)" >> $GITHUB_OUTPUT
id: name

call-reusable-workflow-PR:
uses: ./.github/workflows/ci_reusable.yaml
if: github.event_name == 'pull_request'
needs: prejob
with:
ENV_NAME: "staging"
REACT_APP_ENV_NAME: "staging"
DEPLOY_TO_FLEEK: false
REACT_APP_RELEASE_TAG: ${{ needs.prejob.outputs.releaseTag }}
REACT_APP_RELEASE_NAME: ${{ needs.prejob.outputs.releaseName }}
REACT_APP_META_TX_API_KEY_MAP: ${{ vars.REACT_APP_META_TX_API_KEY_MAP }}
REACT_APP_META_TX_API_IDS_MAP: ${{ vars.REACT_APP_META_TX_API_IDS_MAP }}
secrets:
FLEEK_API_KEY: ${{ secrets.FLEEK_API_KEY }}
REACT_APP_INFURA_IPFS_PROJECT_ID: ${{ secrets.REACT_APP_INFURA_IPFS_PROJECT_ID }}
REACT_APP_INFURA_IPFS_PROJECT_SECRET: ${{ secrets.REACT_APP_INFURA_IPFS_PROJECT_SECRET }}
REACT_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID_STAGING }}
REACT_APP_MAGIC_API_KEY: ${{ secrets.REACT_APP_MAGIC_API_KEY_STAGING }}
REACT_APP_INFURA_KEY: ${{ secrets.REACT_APP_INFURA_KEY_STAGING }}

call-reusable-workflow-staging:
uses: ./.github/workflows/ci_reusable.yaml
if: github.event_name == 'release' && github.event.action == 'created'
Expand Down
7 changes: 7 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ const devServerConfig = () => (config) => {
module.exports = {
// The Webpack config to use when compiling your react app for development or production.
webpack: override(
(config) => {
config.ignoreWarnings = [
/Failed to parse source map/,
/Critical dependency: Accessing import\.meta directly is unsupported \(only property access or destructuring is supported\)/
];
return config;
},
addWebpackResolve({
fallback: {
crypto: require.resolve("crypto-browserify"),
Expand Down