diff --git a/.github/actions/node-and-build/action.yml b/.github/actions/node-and-build/action.yml index 7737febacbe..4c1e15bda14 100644 --- a/.github/actions/node-and-build/action.yml +++ b/.github/actions/node-and-build/action.yml @@ -7,10 +7,10 @@ inputs: runs: using: 'composite' steps: - - name: Setup Node.js 16 + - name: Setup Node.js 18 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c with: - node-version: 16 + node-version: 18 env: SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 diff --git a/.github/workflows/callable-canary-e2e-tests.yml b/.github/workflows/callable-canary-e2e-tests.yml index e7e17524487..8eb735bb83c 100644 --- a/.github/workflows/callable-canary-e2e-tests.yml +++ b/.github/workflows/callable-canary-e2e-tests.yml @@ -58,10 +58,10 @@ jobs: # Minimal depth 2 so we can checkout the commit before possible merge commit. fetch-depth: 2 path: amplify-js - - name: Setup Node.js 16 + - name: Setup Node.js 18 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c with: - node-version: 16 + node-version: 18 env: SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2 diff --git a/jest.config.js b/jest.config.js index 7f0c776869e..cf70f54ed17 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,6 @@ /** @type {import('jest').Config} */ module.exports = { + workerIdleMemoryLimit: '512MB', coveragePathIgnorePatterns: [ '/node_modules/', 'dist', diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index b30a74797d4..38b41d0be3e 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -289,13 +289,13 @@ "name": "[Analytics] record (Kinesis)", "path": "./dist/esm/analytics/kinesis/index.mjs", "import": "{ record }", - "limit": "44.10 kB" + "limit": "44.40 kB" }, { "name": "[Analytics] record (Kinesis Firehose)", "path": "./dist/esm/analytics/kinesis-firehose/index.mjs", "import": "{ record }", - "limit": "41.23 kB" + "limit": "41.40 kB" }, { "name": "[Analytics] record (Personalize)", @@ -373,7 +373,7 @@ "name": "[Auth] confirmSignIn (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ confirmSignIn }", - "limit": "25.55 kB" + "limit": "25.70 kB" }, { "name": "[Auth] updateMFAPreference (Cognito)", @@ -427,7 +427,7 @@ "name": "[Auth] signInWithRedirect (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ signInWithRedirect }", - "limit": "19.30 kB" + "limit": "19.40 kB" }, { "name": "[Auth] fetchUserAttributes (Cognito)", @@ -439,7 +439,7 @@ "name": "[Auth] Basic Auth Flow (Cognito)", "path": "./dist/esm/auth/index.mjs", "import": "{ signIn, signOut, fetchAuthSession, confirmSignIn }", - "limit": "27.60 kB" + "limit": "27.70 kB" }, { "name": "[Auth] OAuth Auth Flow (Cognito)", @@ -451,43 +451,43 @@ "name": "[Storage] copy (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ copy }", - "limit": "13.10 kB" + "limit": "13.20 kB" }, { "name": "[Storage] downloadData (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ downloadData }", - "limit": "13.80 kB" + "limit": "13.90 kB" }, { "name": "[Storage] getProperties (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ getProperties }", - "limit": "13.10 kB" + "limit": "13.20 kB" }, { "name": "[Storage] getUrl (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ getUrl }", - "limit": "14.10 kB" + "limit": "14.30 kB" }, { "name": "[Storage] list (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ list }", - "limit": "13.50 kB" + "limit": "13.60 kB" }, { "name": "[Storage] remove (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ remove }", - "limit": "12.90 kB" + "limit": "13.00 kB" }, { "name": "[Storage] uploadData (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ uploadData }", - "limit": "18.10 kB" + "limit": "18.30 kB" } ] } diff --git a/packages/core/package.json b/packages/core/package.json index cfce8dc96fc..e25287ad3f4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -96,13 +96,13 @@ "name": "Custom clients (request signer)", "path": "./dist/esm/clients/middleware/signing/signer/signatureV4/index.mjs", "import": "{ signRequest }", - "limit": "3.53 kB" + "limit": "3.60 kB" }, { "name": "Custom clients (url presigner)", "path": "./dist/esm/clients/middleware/signing/signer/signatureV4/index.mjs", "import": "{ presignUrl }", - "limit": "3.58 kB" + "limit": "3.65 kB" }, { "name": "Cache (default browser storage)",