diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 21338101f..deebec5f9 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -42,6 +42,10 @@ jobs: run: | dfx start --background + - name: setup + id: setup + run: npm run setup --workspaces --if-present + - run: npm run e2e --workspaces --if-present env: CI: true diff --git a/.github/workflows/mitm.yml b/.github/workflows/mitm.yml index d2fa2d52b..1890237fd 100644 --- a/.github/workflows/mitm.yml +++ b/.github/workflows/mitm.yml @@ -7,6 +7,7 @@ on: - reopened - edited - synchronize + workflow_dispatch: jobs: test: @@ -37,8 +38,8 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: '3.8' - - run: pip3 install mitmproxy~=8.0.0 + python-version: '3.11' + - run: pip3 install mitmproxy~=10.0.0 - run: echo y | sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" @@ -51,17 +52,15 @@ jobs: id: mitmdump run: | set -ex - mitmdump -p 8888 --mode reverse:http://127.0.0.1:4943 \ + mitmdump -p 8888 --mode reverse:https://icp-api.io \ --modify-headers '/~s/Transfer-Encoding/' \ --modify-body '/~s/Hello/Hullo' \ & - sleep 5 + sleep 20 - name: mitm e2e env: CI: true - REPLICA_PORT: 8888 - MITM: true run: npm run mitm --workspaces --if-present aggregate: diff --git a/demos/sample-javascript/README.md b/demos/sample-javascript/README.md index 5b3647013..59a063859 100644 --- a/demos/sample-javascript/README.md +++ b/demos/sample-javascript/README.md @@ -6,4 +6,4 @@ 1. Ensure all dependencies are installed: `npm install` 2. Run the development server `npm run develop` -3. Visit the running site at http://localhost:8080 +3. Visit the running site at http://127.0.0.1:8080 diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 0581bc387..491c78ecd 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -12,6 +12,10 @@

Agent-JS Changelog

Version x.x.x