Refactor CI configuration to streamline razd build process and clean … #14
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: Test mise Integration with Razd | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test-mise-razd: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup mise and install tools | |
| uses: jdx/mise-action@v2 | |
| with: | |
| install: false # Don't install yet, need to add razd plugin first | |
| cache: true | |
| experimental: true | |
| - name: Install razd | |
| run: | | |
| # Install razd plugin and tool | |
| mise plugin install razd https://github.com/razd-cli/vfox-plugin-razd | |
| # List available versions | |
| mise ls-remote razd || echo "Could not list versions" | |
| # Mise uses razd | |
| mise use -g razd | |
| # Now install all tools from mise.toml | |
| mise install | |
| - name: Verify installations | |
| run: mise list | |
| - name: Verify razd | |
| run: razd --version | |
| - name: Install npm dependencies | |
| run: razd install | |
| - name: Razd build | |
| run: | | |
| razd build | |