chore: bump the dependencies-major group with 3 updates #100
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: CI | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| push: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| node: ["22.x"] | |
| platform: [ubuntu-latest] | |
| name: Node v${{matrix.node}} ((${{matrix.platform}})) | |
| runs-on: ${{matrix.platform}} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{matrix.node}} | |
| cache: 'pnpm' | |
| - name: install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: lint code | |
| run: pnpm run lint | |
| - name: typecheck | |
| run: pnpm run typecheck | |
| - name: build project | |
| run: pnpm run build | |
| release-preview: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.0 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| cache: 'pnpm' | |
| - name: install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: build project | |
| run: pnpm run build | |
| - name: release preview with pkg-pr-new | |
| working-directory: packages/sdk | |
| run: pnpm dlx pkg-pr-new publish | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |