Merge pull request #29 from actions/mr/licensed
Setup licensed on the codespace
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "GitHub Actions (TypeScript)",
|
"name": "GitHub Actions (TypeScript)",
|
||||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
|
||||||
"postCreateCommand": "npm install",
|
"postCreateCommand": ".devcontainer/post-create",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"codespaces": {
|
"codespaces": {
|
||||||
"openFiles": ["README.md"]
|
"openFiles": ["README.md"]
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/github-cli:1": {},
|
"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": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Executable
+13
@@ -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
|
||||||
Generated
+3
-3
@@ -12,9 +12,9 @@
|
|||||||
"@actions/core": "^1.11.1"
|
"@actions/core": "^1.11.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@azure-rest/ai-inference": "*",
|
"@azure-rest/ai-inference": "latest",
|
||||||
"@azure/core-auth": "*",
|
"@azure/core-auth": "latest",
|
||||||
"@azure/core-sse": "*",
|
"@azure/core-sse": "latest",
|
||||||
"@eslint/compat": "^1.2.9",
|
"@eslint/compat": "^1.2.9",
|
||||||
"@github/local-action": "^3.2.1",
|
"@github/local-action": "^3.2.1",
|
||||||
"@jest/globals": "^29.7.0",
|
"@jest/globals": "^29.7.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user