diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 38ada92d6..f2b86ba04 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -19,7 +19,7 @@ jobs: spec: - '0.16.1' node: - - 16 + - 18 steps: - uses: actions/checkout@v2 @@ -28,9 +28,11 @@ jobs: with: node-version: ${{ matrix.node }} - - run: npm install -g npm@9 + - run: npm install -g npm - run: npm install + - run: pushd e2e/browser && npm install && popd + - run: pushd e2e/node && npm install && popd # build monorepo incl. each subpackage - run: npm run build --workspaces --if-present diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0a684e283..cedd6d0c5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,13 +17,13 @@ jobs: spec: - release-0.16 # https://github.com/dfinity-lab/ic-ref/tree/release-0.16 node: - - 14 + - 20 steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - run: npm install -g npm@9 + - run: npm install -g npm - run: npm install - run: npm run lint --workspaces --if-present diff --git a/.github/workflows/mitm.yml b/.github/workflows/mitm.yml index d6ddae76d..133684cf8 100644 --- a/.github/workflows/mitm.yml +++ b/.github/workflows/mitm.yml @@ -20,7 +20,7 @@ jobs: spec: - '0.16.1' node: - - 16 + - 20 steps: - uses: actions/checkout@v2 @@ -29,7 +29,7 @@ jobs: with: node-version: ${{ matrix.node }} - - run: npm install -g npm@9 + - run: npm install -g npm - run: npm install diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 9f0ae436a..131c04b4e 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -17,15 +17,15 @@ jobs: spec: - release-0.16 # https://github.com/dfinity-lab/ic-ref/tree/release-0.16 node: - - 14 + - 20 steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - run: npm install -g npm@9 - - run: npm install prettier pretty-quick + - run: npm install -g npm + - run: npm ci - run: npm run prettier:check aggregate: diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 394b41097..9b5143fc0 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -7,7 +7,7 @@ jobs: CI_JOB_NUMBER: 1 steps: - uses: actions/checkout@v1 - - run: npm install -g npm@9 + - run: npm install -g npm # - run: npm run size-limit --workspaces --if-present # commented out until the job can be configured diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 4a1255650..fd8ed58d4 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -19,8 +19,8 @@ jobs: spec: - '0.16.1' node: - - 14 - - 16 + - 18 + - 20 steps: - uses: actions/checkout@v2 @@ -29,9 +29,9 @@ jobs: with: node-version: ${{ matrix.node }} - - run: npm install -g npm@9 + - run: npm install -g npm - - run: npm ci + - run: npm install # build monorepo incl. each subpackage - run: npm run build --workspaces --if-present diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec13..000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index f498e4c7f..000000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npx pretty-quick --staged --branch next diff --git a/.nvmrc b/.nvmrc index d3e33db8b..805b5a4e0 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.16 +v20.9.0 diff --git a/demos/sample-javascript/package.json b/demos/sample-javascript/package.json index 19b7d91c3..5e5b3ed41 100644 --- a/demos/sample-javascript/package.json +++ b/demos/sample-javascript/package.json @@ -24,8 +24,8 @@ "stream-browserify": "^3.0.0", "ts-node": "^10.8.2", "util": "^0.12.3", + "webpack": "^5.76.0", "webpack-cli": "^4.5.0", - "webpack-dev-server": "^4.0.0-beta.0", - "webpack": "^5.76.0" + "webpack-dev-server": "^4.0.0-beta.0" } } diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 9cb2dba3f..941ce7140 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -12,6 +12,7 @@

Agent-JS Changelog

Version x.x.x