feat: add route:list musket command #113
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 | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| check: | |
| name: Run Available Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| registry-url: 'https://registry.npmjs.org/' | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 10 | |
| - name: Install dependencies (skip postinstall) | |
| run: | | |
| pnpm install --ignore-scripts --frozen-lockfile | |
| - name: Build Packages | |
| run: | | |
| pnpm build | |
| NODE_ENV=production DIST_DIR=dist pnpm -r --filter './examples/*' build | |
| - name: Run musket postinstall | |
| run: | | |
| pnpm -r --filter './examples/*' postinstall | |
| - name: Run tests and generate code coverage | |
| run: pnpm coverage | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: h3ravel/framework |