feat: add a way to switch gRPC tunnel mode for the connected machines #1008
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
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| "on": | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| tags: | |
| - v* | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| name: chromatic | |
| # https://www.chromatic.com/docs/github-actions/ | |
| jobs: | |
| chromatic: | |
| name: Run chromatic | |
| runs-on: | |
| group: generic | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.11.0 | |
| - name: Install dependencies | |
| run: npm ci | |
| working-directory: frontend/ | |
| - name: Get token | |
| run: | | |
| chromaticProjectToken=$(sops decrypt --extract='["secrets"]["CHROMATIC_PROJECT_TOKEN"]' .secrets.yaml) | |
| echo "::add-mask::${chromaticProjectToken}" | |
| echo "CHROMATIC_PROJECT_TOKEN=${chromaticProjectToken}" >> $GITHUB_ENV | |
| - name: Run Chromatic | |
| uses: chromaui/action@latest | |
| with: | |
| projectToken: ${{ env.CHROMATIC_PROJECT_TOKEN }} | |
| workingDir: frontend/ |