fix(ci): split full integration preflight #123
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: validate | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ansible | |
| bun install | |
| bun run build | |
| bun run docs:build | |
| ansible-galaxy collection install -r requirements.yml | |
| - name: Script validation | |
| run: | | |
| bash -n install.sh | |
| test -x dist/terrariumctl | |
| bun run tests/integration/index.ts --help | |
| - name: Ansible syntax | |
| run: ansible-playbook -i ansible/inventory.ini ansible/site.yml --syntax-check |