feat(kamado): add proxy support for dev server #274
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: | |
| - macOS-latest | |
| node: [24] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Enable Corepack and setup Yarn v4 | |
| run: | | |
| corepack enable | |
| yarn --version | |
| - name: Cache dependencies | |
| id: cache-depends | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5 | |
| with: | |
| path: '**/node_modules' | |
| key: os-${{ matrix.os }}-node${{ matrix.node }}-${{ hashFiles('yarn.lock') }} | |
| - name: Install dependencies for Renovate/Dependabot | |
| if: github.actor == 'renovate[bot]' || github.actor == 'dependabot[bot]' | |
| run: yarn install --refresh-lockfile | |
| - name: Install dependencies for normal PRs | |
| if: github.actor != 'renovate[bot]' && github.actor != 'dependabot[bot]' | |
| run: yarn install --immutable | |
| - name: Compile | |
| run: yarn build | |
| - name: Lint | |
| run: yarn lint | |
| - name: Test | |
| run: yarn test |