refactor: update release workflows and GoReleaser configuration #13
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: SDK CI | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'sdk/**' | |
| - 'cli/**' | |
| - 'codemod/**' | |
| - 'adapters/**' | |
| - 'pnpm-workspace.yaml' | |
| - '.github/workflows/sdk.yml' | |
| pull_request: | |
| paths: | |
| - 'sdk/**' | |
| - 'cli/**' | |
| - 'codemod/**' | |
| - 'adapters/**' | |
| - 'pnpm-workspace.yaml' | |
| - '.github/workflows/sdk.yml' | |
| jobs: | |
| ci: | |
| name: Install · Build · Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build all packages | |
| run: pnpm -r --if-present run build | |
| - name: Test all packages | |
| run: pnpm -r --if-present run test |