Files
lbry-desktop/.workshop/dev.yaml
unfunny 6c6e2ae311
Some checks failed
Node.js CI / lint (push) Has been cancelled
Node.js CI / build (16.x, macos-13) (push) Has been cancelled
Node.js CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node.js CI / build (16.x, windows-latest) (push) Has been cancelled
Add Cannonical Workshop to make building and iteration easier on modern operating systems
2026-10-24 16:33:30 -04:00

29 lines
776 B
YAML

name: dev
base: ubuntu@24.04
sdks:
- name: opencode
channel: 1/stable
plugs:
hostsvc:
interface: tunnel
endpoint: localhost:1234
- name: node
channel: 20/stable
- name: system
plugs:
datasets:
interface: mount
workshop-target: /home/workshop/.config/opencode.json
slots:
hostsvc:
interface: tunnel
endpoint: localhost:1234 # LM Studio
# project requires node 20 and yarn to build so we install them here
actions:
setup: |
npm install -g yarn@1
echo "export OPENCODE_PERMISSIONS__BASH=allow" >> /home/workshop/.bashrc
echo "export OPENCODE_PERMISSIONS__WRITE=allow" >> /home/workshop/.bashrc
echo "export OPENCODE_PERMISSIONS__READ=allow" >> /home/workshop/.bashrc