fix(mcp-gen): fix workflow #23
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: MCP Integration Generator | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'mcp-gen/**' | |
| pull_request: | |
| paths: | |
| - 'mcp-gen/**' | |
| - .github/workflows/mcp-gen.yml | |
| workflow_dispatch: {} | |
| defaults: | |
| run: | |
| working-directory: ./mcp-gen | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| mcp-gen: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4.0.0 | |
| with: | |
| version: 10.12.4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22.17.0' | |
| check-latest: true | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build | |
| - run: pnpm check:type | |
| - run: pnpm test | |
| # - run: pnpm check:format | |
| - name: Publish | |
| if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch' | |
| uses: botpress/gh-actions/publish-if-not-exists@master | |
| with: | |
| path: './mcp-gen' |