Add unified-selection-react
package
#2053
This file contains 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
# iTwin.js Extract API Build | |
name: Extract API | |
on: | |
pull_request: | |
branches: | |
- master | |
- stable | |
types: [opened, synchronize, reopened, ready_for_review] | |
jobs: | |
files-changed: | |
if: '! github.event.pull_request.draft' | |
runs-on: ubuntu-latest | |
name: Detect what files changed | |
outputs: | |
packages: ${{ steps.changes.outputs.packages }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check for file changes | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
packages: | |
- 'packages/**' | |
extract-api: | |
needs: [files-changed] | |
if: ${{ needs.files-changed.outputs.packages == 'true' }} | |
runs-on: ubuntu-latest | |
name: Extract API | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Extract API | |
env: | |
TF_BUILD: 1 | |
run: pnpm lage extract-api check-internal |