fix(config): migrate ~/.harmont config forward, plumb HARMONT_* env, hint on legacy .harmont/ project dir #443
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: CI | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| ci: | |
| name: hm run ci | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "23" | |
| cache: npm | |
| cache-dependency-path: crates/hm-dsl-engine/harmont-ts/package-lock.json | |
| - name: Install esbuild (for harmont-ts bundle) | |
| working-directory: crates/hm-dsl-engine/harmont-ts | |
| run: npm ci | |
| - name: Build hm | |
| run: cargo build -p harmont-cli | |
| - name: Enable FUSE allow_other | |
| run: sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf | |
| - name: Run harmont pipeline | |
| uses: harmont-dev/actions-hm@main | |
| with: | |
| pipeline: ci | |
| hm-path: ./target/debug/hm | |
| cache: 'false' |