Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/reusable-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,39 @@ jobs:
NODE_NO_WARNINGS: 1
WASM: 1
run: pnpm run test:ci

diff:
name: Rsdoctor Diff
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
ref: ${{ inputs.ref }}

- name: Clone rspack-diff-minimal
run: git clone https://github.com/yifancong/rspack-diff-minimal.git

- name: Setup Pnpm
timeout-minutes: 5
uses: ./.github/actions/pnpm/setup
with:
node-version: 22

- name: Install dependencies
working-directory: rspack-diff-minimal
run: pnpm install

- name: Build project
working-directory: rspack-diff-minimal
run: pnpm run build

- name: Report Compressed Size
uses: web-infra-dev/rsdoctor-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
file_path: "rspack-diff-minimal/dist/rsdoctor-data.json"
target_branch: "chore/diff-v2"
Loading