Update Rsbuild #50
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
name: Update Rsbuild | |
on: | |
workflow_dispatch: | |
jobs: | |
rsbuild: | |
name: Bump Rsbuild Version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install Pnpm | |
run: corepack enable | |
- name: Setup Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm install --ignore-scripts | |
- name: Prepare Generator Utils | |
run: pnpm run --filter @modern-js/generator-utils... build | |
- name: Update Rsbuild | |
run: pnpm run update-rsbuild | |
- name: Install Dependencies | |
run: pnpm install --ignore-scripts --no-frozen-lockfile | |
- name: Create commits | |
run: | | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
git commit -am "feat: update rsbuild version" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
branch: 'feat-update-rsbuild-version' | |
title: 'feat: update rsbuild version' | |
body: 'feat: update rsbuild version' |