Skip to content

Commit

Permalink
ci: Update .codesandbox/tasks.json and add .devcontainer/devcontain… (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Oct 3, 2023
1 parent 0c96b9e commit 013a8df
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"name": "Build: client",
"command": "yarn workspace @codesandbox/sandpack-client build",
"restartOn": {
"branch": true
"branch": true,
"resume": false
}
},
"build:themes": {
Expand Down Expand Up @@ -70,7 +71,12 @@
"name": "Install",
"command": "yarn install",
"restartOn": {
"files": ["yarn.lock", "**/package.json"]
"files": [
"yarn.lock",
"**/package.json"
],
"branch": false,
"resume": false
}
}
}
Expand Down
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bullseye"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

3 comments on commit 013a8df

@vercel
Copy link

@vercel vercel bot commented on 013a8df Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 013a8df Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 013a8df Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.