diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f778fba6f..95dad26ab 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -103,7 +103,9 @@ INSTALL_DEV_UTILS RUN bash <<'INSTALL_NPM_PACKAGES' set -euo pipefail +npm update -g npm@^11.10.0 npm config set allow-scripts=@kilocode/cli --location=user +npm config set min-release-age=3 --location=user npm install -g @kilocode/cli INSTALL_NPM_PACKAGES diff --git a/.github/workflows/markdown-fix.yaml b/.github/workflows/markdown-fix.yaml index c5931be4c..608f5f1be 100644 --- a/.github/workflows/markdown-fix.yaml +++ b/.github/workflows/markdown-fix.yaml @@ -103,10 +103,14 @@ jobs: - name: Set up Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: "22" + node-version: "26" + package-manager-cache: false - name: Install markdownlint-cli2 - run: npm install -g markdownlint-cli2 + run: | + npm update -g npm@^11.10.0 + npm config set min-release-age=3 --location=user + npm install -g markdownlint-cli2 - name: Run markdownlint-cli2 fix working-directory: ${{ needs.setup.outputs.checkout_path }} diff --git a/.github/workflows/yaml-fix.yaml b/.github/workflows/yaml-fix.yaml index 19f5ad0f4..e1eb271eb 100644 --- a/.github/workflows/yaml-fix.yaml +++ b/.github/workflows/yaml-fix.yaml @@ -104,10 +104,14 @@ jobs: - name: Setup Node.js uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: "22" + node-version: "26" + package-manager-cache: false - name: Install prettier - run: npm install -g prettier + run: | + npm update -g npm@^11.10.0 + npm config set min-release-age=3 --location=user + npm install -g prettier - name: Apply YAML formatting working-directory: ${{ needs.setup.outputs.checkout_path }}