Skip to content

fix: add platform parameter to clean tool with iOS default #5

fix: add platform parameter to clean tool with iOS default

fix: add platform parameter to clean tool with iOS default #5

Workflow file for this run

name: Publish Package Previews
on:
pull_request_review:
types: [submitted]
pull_request:
types: [opened, synchronize]
permissions:
contents: read
pull-requests: write
jobs:
# Publish on all PRs (for testing/development)
publish-pr:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to pkg.pr.new
run: npx pkg-pr-new publish --comment=update
# Publish on approved PRs (recommended pattern)
publish-approved:
if: github.event_name == 'pull_request_review' && github.event.review.state == 'approved'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to pkg.pr.new (Approved)
run: npx pkg-pr-new publish --comment=create