image: ubuntu:latest | |
# Commands that will run on workspace start | |
tasks: | |
name: Setup, Install & Build | |
before: apt install cargo redis-server nodejs npm && cargo test | |
init: cargo install cargo-watch | |
command: redis-server --port 8080 & cargo watch -q -w "." -x "run" | |
# Ports to expose on workspace startup | |
ports: | |
port: 8080 | |
onOpen: open-preview | |
name: Website | |
description: Website Preview | |
# vscode IDE setup | |
vscode: | |
extensions: | |
vadimcn.vscode-lldb | |
rust-lang.rust-analyzer | |
bungcip.better-toml | |
serayuzgur.crates | |
usernamehw.errorlens | |
DavidAnson.vscode-markdownlint | |
esbenp.prettier-vscode | |
stylelint.vscode-stylelint | |
dbaeumer.vscode-eslint | |
evgeniypeshkov.syntax-highlighter | |
redhat.vscode-yaml | |
ms-azuretools.vscode-docker | |
GitHub.vscode-github-actions | |
Catppuccin.catppuccin-vsc | |
PKief.material-icon-theme | |
tal7aouy.rainbow-bracket | |
oderwat.indent-rainbow | |
formulahendry.auto-rename-tag | |
eamodio.gitlens | |
github: | |
prebuilds: | |
master: true | |
branches: true | |
pullRequests: true | |
pullRequestsFromForks: true | |
addCheck: true | |
addComment: false | |
addBadge: true | |