Replace eslint-plugin-wkovacs64 with simple correctness-focused ESLin… #476
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: 🌐 CD | |
| on: | |
| push: | |
| pull_request: | |
| pull_request_review: | |
| types: [submitted] | |
| jobs: | |
| publish_to_pkg_pr_new: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| if: | | |
| github.event_name != 'push' || | |
| !contains(github.event.head_commit.message, 'chore: release') | |
| steps: | |
| - name: Bail early if PR is from a fork and not approved | |
| if: | | |
| github.event_name == 'pull_request_review' && | |
| github.event.pull_request.head.repo.fork == true && | |
| github.event.review.state != 'approved' | |
| run: | | |
| echo "PR from fork is not approved. Skipping workflow." | |
| exit 78 | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: 📦 Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: ⎔ Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version-file: ".nvmrc" | |
| - name: 📥 Install deps | |
| run: pnpm install | |
| - name: 🛠️ Build | |
| run: pnpm run prepack | |
| - name: ⚡ pkg.pr.new | |
| run: pnpm dlx pkg-pr-new publish --compact |