test: add 100% coverage tests for PaymentMethod, PaymentMethodsContai… #510
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: pkg-pr-new | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| - "!main" | |
| - "!release" | |
| tags-ignore: | |
| - "v*" | |
| pull_request: | |
| types: [ready_for_review] | |
| branches-ignore: | |
| - release | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: pnpm 🧰 | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| - name: Node 🧰 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Install 📦 | |
| run: pnpm install --frozen-lockfile | |
| - name: Build elements 🛠 | |
| run: pnpm build | |
| - name: Publish 🚀 pkg.pr.new | |
| run: | | |
| npx pkg-pr-new publish './packages/react-components' './packages/core' './packages/hooks' --no-template |