Create create_structure.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Project Structure | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
create_structure: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Create directories | |
run: | | |
mkdir -p app/components/human/header | |
mkdir -p app/components/human/sidebar | |
mkdir -p app/components/human/ui | |
mkdir -p app/components/ai/chat | |
mkdir -p app/components/ai/editor/codemirror | |
mkdir -p app/components/ai/editor/mobile | |
mkdir -p app/components/ai/workbench/terminal | |
mkdir -p app/components/ai/workbench/mobile-preview | |
mkdir -p app/components/shared | |
mkdir -p app/lib/runtime/human | |
mkdir -p app/lib/runtime/ai | |
mkdir -p app/lib/stores/human | |
mkdir -p app/lib/stores/ai | |
mkdir -p app/lib/stores/shared | |
mkdir -p app/lib/compute/pool | |
mkdir -p app/lib/compute/contracts | |
mkdir -p app/routes/mobile | |
mkdir -p sharing/policies/attribution | |
mkdir -p sharing/policies/privacy | |
mkdir -p sharing/interfaces/human-ai | |
mkdir -p sharing/interfaces/compute | |
- name: Create files | |
run: | | |
touch app/components/human/header/Header.tsx | |
touch app/components/human/header/HeaderActionButtons.client.tsx | |
touch app/components/human/sidebar/HistoryItem.tsx | |
touch app/components/human/sidebar/Menu.client.tsx | |
touch app/components/human/ui/Dialog.tsx | |
touch app/components/ai/chat/Artifact.tsx | |
touch app/components/ai/chat/AssistantMessage.tsx | |
touch app/components/ai/chat/BaseChat.tsx | |
touch app/components/ai/editor/codemirror/Editor.tsx | |
touch app/components/ai/editor/mobile/MobileEditor.tsx | |
touch app/components/ai/workbench/terminal/Terminal.tsx | |
touch app/components/ai/workbench/mobile-preview/MobilePreview.tsx | |
touch app/components/shared/FileTree.tsx | |
touch app/components/shared/Preview.tsx | |
touch app/lib/runtime/human/mobile-runtime.ts | |
touch app/lib/runtime/ai/context-tracker.ts | |
touch app/lib/runtime/message-parser.ts | |
touch app/lib/stores/human/preferences.ts | |
touch app/lib/stores/human/mobile-state.ts | |
touch app/lib/stores/ai/chat.ts | |
touch app/lib/stores/ai/editor.ts | |
touch app/lib/stores/shared/files.ts | |
touch app/lib/stores/shared/settings.ts | |
touch app/lib/compute/pool/thread-manager.ts | |
touch app/lib/compute/contracts/resource-agreement.ts | |
touch app/routes/_index.tsx | |
touch app/routes/api.chat.ts | |
touch app/routes/mobile/preview.tsx | |
touch sharing/policies/attribution/policy.ts | |
touch sharing/policies/privacy/policy.ts | |
touch sharing/interfaces/human-ai/boundaries.ts | |
touch sharing/interfaces/compute/agreements.ts | |
- name: Commit and push changes | |
run: | | |
git config --global user.name 'GitHub Actions' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m 'Create project structure' | |
git push |