build(deps): bump fast-uri from 3.1.0 to 3.1.2 #153
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: Publish Preview Release | |
| on: | |
| pull_request: | |
| types: [synchronize, labeled] | |
| jobs: | |
| approved: | |
| if: contains(join(github.event.pull_request.labels.*.name, ','), 'publish-preview') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🛒 Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: 📦 Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: ⚒️ Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: ".nvmrc" | |
| cache: "pnpm" | |
| # see https://github.com/actions/setup-node/issues/1137 | |
| - name: 📂 Create pnpm cache directory | |
| shell: bash | |
| run: mkdir -vp $(pnpm store path --silent) | |
| - name: 📦 Install Dependencies | |
| run: npm run bootstrap | |
| - name: 🔨 Build | |
| run: pnpm run --filter react-compare-slider build | |
| - name: 📦 Publish Preview Release | |
| run: pnpx pkg-pr-new publish './lib' --template='./docs/example' |