use npm for devcontainer cli

This commit is contained in:
Elio Bischof
2025-07-24 15:56:31 +02:00
parent f43ffa2010
commit 47d658cf45
3 changed files with 5 additions and 5 deletions

View File

@@ -66,9 +66,9 @@ jobs:
# We don't care about the node version or anything else, we just want to set up pnpm caching
cache: 'pnpm'
- name: Install Dev Container CLI
run: pnpm install -g @devcontainers/cli@0.3.0
run: npm install -g @devcontainers/cli@0.80.0
- name: Lint and Unit Test All JavaScript Code
run: pnpm devcontainer:lint-unit
run: npm devcontainer:lint-unit
core:
name: core

View File

@@ -27,6 +27,6 @@ jobs:
# We don't care about the node version or anything else, we just want to set up pnpm caching
cache: 'pnpm'
- name: Install Dev Container CLI
run: pnpm install -g @devcontainers/cli@0.3.0
run: npm install -g @devcontainers/cli@0.80.0
- name: Run Integration Tests against the Login and a Mocked Zitadel API
run: pnpm devcontainer:integration:login
run: npm devcontainer:integration:login

View File

@@ -573,7 +573,7 @@ You can also run the GitHub PR checks locally in dev containers without having t
The following pnpm commands use the [devcontainer CLI](https://github.com/devcontainers/cli/) and exit when the checks are done.
The minimal system requirements are having Docker and the devcontainers CLI installed.
If you don't have the node_modules installed already, you need to install the devcontainers CLI manually. Run `npm i -g @devcontainers/cli`. Alternatively, the [official Microsoft VS Code extension for Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) offers a command `Dev Containers: Install devcontainer CLI`
If you don't have the node_modules installed already, you need to install the devcontainers CLI manually. Run `npm i -g @devcontainers/cli@0.80.0`. Alternatively, the [official Microsoft VS Code extension for Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) offers a command `Dev Containers: Install devcontainer CLI`
```bash