Enhance GitHub Actions workflow for macOS compatibility #53
Workflow file for this run
This file contains hidden or 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: Git Board Flow - Vector Action | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| - '!master' | |
| - '!develop' | |
| jobs: | |
| git-board-vector-action: | |
| name: Git Board - Vector Action | |
| runs-on: [self-hosted, macOS] | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build Project | |
| run: npm run build | |
| - name: Setup docker and docker-compose (missing on MacOS) | |
| if: runner.os == 'macos' | |
| run: | | |
| brew install colima | |
| colima start | |
| - name: Run Vector Action | |
| uses: ./ | |
| env: | |
| DOCKER_HOST: unix://${HOME}/.colima/default/docker.sock | |
| with: | |
| single-action: vector_action | |
| debug: ${{ vars.DEBUG }} | |
| firebase-config: ${{ secrets.FIREBASE_CONFIG }} | |
| project-ids: 2 | |
| openrouter-api-key: ${{ secrets.OPEN_ROUTER_API_KEY }} | |
| openrouter-model: ${{ vars.OPEN_ROUTER_MODEL }} | |
| token: ${{ secrets.PAT }} |