diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0023691..b08e1ab 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ { "name": "GitHub Actions (TypeScript)", "image": "mcr.microsoft.com/devcontainers/typescript-node:20", - "postCreateCommand": "npm install", + "postCreateCommand": ".devcontainer/post-create", "customizations": { "codespaces": { "openFiles": ["README.md"] @@ -36,6 +36,7 @@ }, "features": { "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/devcontainers-contrib/features/prettier:1": {} + "ghcr.io/devcontainers-contrib/features/prettier:1": {}, + "ghcr.io/devcontainers/features/ruby:1": {} } } diff --git a/.devcontainer/post-create b/.devcontainer/post-create new file mode 100755 index 0000000..bc1e8bb --- /dev/null +++ b/.devcontainer/post-create @@ -0,0 +1,13 @@ +#!/bin/bash + +set -euxo pipefail + +# Setup licensed +sudo apt update +sudo apt install -y \ + cmake pkg-config + +gem install licensed + +# NPM install +npm install diff --git a/package-lock.json b/package-lock.json index 7c629c2..d179bf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,9 +12,9 @@ "@actions/core": "^1.11.1" }, "devDependencies": { - "@azure-rest/ai-inference": "*", - "@azure/core-auth": "*", - "@azure/core-sse": "*", + "@azure-rest/ai-inference": "latest", + "@azure/core-auth": "latest", + "@azure/core-sse": "latest", "@eslint/compat": "^1.2.9", "@github/local-action": "^3.2.1", "@jest/globals": "^29.7.0",