Skip to content

Commit 07ad2ef

Browse files
committed
Merge branch 'main' into refactor/email-mfa-service-client-factory
2 parents 6da0652 + b26e719 commit 07ad2ef

File tree

208 files changed

+3544
-1440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+3544
-1440
lines changed

.github/actions/load-verdaccio-with-amplify-js/action.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ runs:
66
steps:
77
- name: Start verdaccio
88
run: |
9-
# This version supports Node.js v22
10-
9+
1110
while ! nc -z localhost 4873; do
1211
echo "Verdaccio not running yet"
1312
sleep 1
@@ -19,30 +18,25 @@ runs:
1918
- name: Install and run npm-cli-login
2019
shell: bash
2120
env:
22-
NPM_REGISTRY_HOST: localhost:4873
23-
NPM_REGISTRY: http://localhost:4873
21+
NPM_REGISTRY: http://localhost:4873/
2422
NPM_USER: verdaccio
2523
NPM_PASS: verdaccio
2624
NPM_EMAIL: [email protected]
2725
run: |
28-
# Make the HTTP request that npm addUser makes to avoid the "Exit handler never called" error
29-
TOKEN=$(curl -s \
30-
-H "Accept: application/json" \
31-
-H "Content-Type:application/json" \
32-
-X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\", \"email\": \"$NPM_EMAIL\"}" \
33-
$NPM_REGISTRY/-/user/org.couchdb.user:$NPM_USER 2>&1 | jq -r '.token')
34-
35-
# Set the Verdaccio registry and set the token for logging in
36-
yarn config set registry $NPM_REGISTRY
37-
npm set registry $NPM_REGISTRY
38-
npm set //"$NPM_REGISTRY_HOST"/:_authToken $TOKEN
39-
- name: Configure git
26+
npm i -g npm-cli-adduser
27+
npm-cli-adduser
28+
sleep 1
29+
- name: Configure registry and git
4030
shell: bash
4131
working-directory: ./amplify-js
4232
env:
33+
NPM_REGISTRY: http://localhost:4873/
4334
NPM_USER: verdaccio
35+
NPM_PASS: verdaccio
4436
NPM_EMAIL: [email protected]
4537
run: |
38+
yarn config set registry $NPM_REGISTRY
39+
npm set registry $NPM_REGISTRY
4640
git config --global user.email $NPM_EMAIL
4741
git config --global user.name $NPM_USER
4842
git status

.github/actions/node-and-build/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ inputs:
44
is-prebuild:
55
required: false
66
default: false
7-
node_version:
8-
required: false
97
runs:
108
using: 'composite'
119
steps:
12-
- name: Setup Node.js
10+
- name: Setup Node.js 18
1311
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
1412
with:
15-
node-version: ${{ inputs.node_version || '18.x' }}
13+
node-version: 18.20.2
1614
env:
1715
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
1816
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0

.github/integ-config/integ-all.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -870,13 +870,6 @@ tests:
870870
spec: ssr-context-isolation
871871
yarn_script: ci:ssr-context-isolation
872872
browser: [chrome]
873-
- test_name: integ_node_envs
874-
desc: 'Node.js environment tests'
875-
framework: node
876-
category: integration
877-
sample_name: auth-gql-storage
878-
yarn_script: ci:node-env-test
879-
node_versions: ['18.x', '20.x', '22.x']
880873
- test_name: integ_next_mfa_req_email
881874
desc: 'mfa required with email sign in attribute'
882875
framework: next

.github/workflows/callable-e2e-test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ on:
3737
yarn_script:
3838
required: false
3939
type: string
40-
node_versions:
41-
required: false
42-
type: string
4340
env:
4441
required: false
4542
type: string
@@ -60,8 +57,6 @@ jobs:
6057
- ${{ fromJson(inputs.browser) }}
6158
sample_name:
6259
- ${{ fromJson(inputs.sample_name) }}
63-
node_version:
64-
- ${{ fromJson(inputs.node_versions) }}
6560
fail-fast: false
6661
timeout-minutes: ${{ inputs.timeout_minutes }}
6762

@@ -72,8 +67,6 @@ jobs:
7267
path: amplify-js
7368
- name: Setup node and build the repository
7469
uses: ./amplify-js/.github/actions/node-and-build
75-
with:
76-
node_version: ${{ matrix.node_version }}
7770
- name: Setup samples staging repository
7871
uses: ./amplify-js/.github/actions/setup-samples-staging
7972
with:

.github/workflows/callable-e2e-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
4545
retry_count: ${{ matrix.integ-config.retry_count || 3 }}
4646
yarn_script: ${{ matrix.integ-config.yarn_script || '' }}
47-
node_versions: ${{ toJSON(matrix.integ-config.node_versions) || '[""]' }}
4847
env: ${{ matrix.integ-config.env && toJSON(matrix.integ-config.env) || '{}' }}
4948

5049
# e2e-test-runner-headless:

docs/api/assets/navigation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/interfaces/_aws_amplify_adapter_nextjs.api._Reference_Types_.CustomOperationArgument.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/api/interfaces/_aws_amplify_adapter_nextjs.api._Reference_Types_.EnumType.html

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

docs/api/interfaces/_aws_amplify_adapter_nextjs.api._Reference_Types_.InputType.html

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)