diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7a6c7ae..369a878 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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' diff --git a/config-overrides.js b/config-overrides.js index f6f82bb..8234e3e 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -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"),