mirror of
https://github.com/badges/shields.git
synced 2025-04-18 19:44:04 +03:00
build: creates a devcontainer configuration for contributors (#10937)
* set up a devcontainer configuration * also install postgresql for that part of the CONTRIBUTING guidance * set up a devcontainer configuration * also install postgresql for that part of the CONTRIBUTING guidance * forgot to revert node 22 to node 20 * slim down devcontainer file
This commit is contained in:
parent
4eb5d9a7ac
commit
9b91a60c75
14
.devcontainer/devcontainer.json
Normal file
14
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "Node.js",
|
||||
// "Officially" maintained node devcontainer image from Microsoft
|
||||
// https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "npm ci"
|
||||
}
|
@ -96,6 +96,8 @@ If you intend on reporting or contributing a fix related to security vulnerabili
|
||||
|
||||
## Development
|
||||
|
||||
[](https://codespaces.new/badges/shields?quickstart=1)
|
||||
|
||||
1. Install Node 20 or later. You can use the [package manager][] of your choice.
|
||||
Tests need to pass in Node 20 and 22.
|
||||
2. Clone this repository.
|
||||
|
Loading…
x
Reference in New Issue
Block a user