fix(build): use glob pattern for --external to work on all platforms #1423
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: Publish Any Commit | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "**" | |
| tags: | |
| - "!**" | |
| jobs: | |
| pkg-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm run examples:build | |
| - run: | | |
| npx pkg-pr-new publish \ | |
| . \ | |
| ./examples/basic-server-react \ | |
| ./examples/basic-server-vanillajs \ | |
| ./examples/budget-allocator-server \ | |
| ./examples/cohort-heatmap-server \ | |
| ./examples/customer-segmentation-server \ | |
| ./examples/map-server \ | |
| ./examples/pdf-server \ | |
| ./examples/scenario-modeler-server \ | |
| ./examples/shadertoy-server \ | |
| ./examples/sheet-music-server \ | |
| ./examples/system-monitor-server \ | |
| ./examples/threejs-server \ | |
| ./examples/transcript-server \ | |
| ./examples/video-resource-server \ | |
| ./examples/wiki-explorer-server |