Skip to content

chore(deps): upgrade Rsbuild to v2.2.6 (#1923) #981

chore(deps): upgrade Rsbuild to v2.2.6 (#1923)

chore(deps): upgrade Rsbuild to v2.2.6 (#1923) #981

Workflow file for this run

# https://github.com/stackblitz-labs/pkg.pr.new
name: Preview Release
on:
push:
branches: [main]
workflow_dispatch:
inputs:
branch:
description: 'Branch to release'
required: true
default: 'main'
permissions: {}
jobs:
preview:
if: github.repository == 'web-infra-dev/rslib'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 1
ref: ${{ github.event.inputs.branch }}
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: changes
with:
filters: |
changed:
- "packages/**"
- "pnpm-lock.yaml"
- name: Setup Node.js
if: steps.changes.outputs.changed == 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
package-manager-cache: false
- name: Install pnpm
if: steps.changes.outputs.changed == 'true'
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
with:
run_install: true
- name: Build
if: steps.changes.outputs.changed == 'true'
run: pnpm run build
- name: Publish Preview
if: steps.changes.outputs.changed == 'true'
run: pnpx pkg-pr-new publish --compact --pnpm ./packages/*