Two frontends, both alike in dignity, in fair VHS where we lay our scene. #33
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: Run Tests | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'master' | |
| - 'trunk' | |
| tags: | |
| - 'v*' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'master' | |
| - 'trunk' | |
| workflow_dispatch: | |
| jobs: | |
| test-php: | |
| strategy: | |
| matrix: | |
| package: [backend-php] | |
| node-version: ['22'] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{matrix.node-version}} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{matrix.node-version}} | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Test ${{matrix.package}} | |
| run: pnpm --filter "./packages/${{matrix.package}}/" test | |
| shellcheck: | |
| name: Shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run ShellCheck | |
| uses: ludeeus/action-shellcheck@master |