Skip to content

Commit 7c3506a

Browse files
authored
chore(CI): replace the rspack diff demos (#12337)
* chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos * chore(CI): replace the rspack diff demos
1 parent 41783c7 commit 7c3506a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci-diff.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,35 +50,35 @@ jobs:
5050
timeout-minutes: 5
5151
uses: ./.github/actions/pnpm/setup
5252
with:
53-
node-version: 22
53+
node-version: 24
5454

5555
- name: Pnpm Install
5656
uses: ./.github/actions/pnpm/install-dependencies
5757

5858
- name: Build JS
5959
run: pnpm run build:js
6060

61-
- name: Clone rstack-examples
61+
- name: Clone build-tools-performance
6262
run: |
6363
cd ..
64-
git clone -b chore/add-rsdoctor-demo https://github.com/rspack-contrib/rstack-examples.git
64+
git clone https://github.com/rspack-contrib/build-tools-performance.git
6565
6666
- name: Link packages and install dependencies
67-
working-directory: ../rstack-examples/rsdoctor/rspack
67+
working-directory: ../build-tools-performance
6868
run: |
69-
npm pkg set "devDependencies.@rspack/binding=link:../../../rspack/crates/node_binding"
70-
npm pkg set "devDependencies.@rspack/core=link:../../../rspack/packages/rspack"
71-
npm pkg set "devDependencies.@rspack/cli=link:../../../rspack/packages/rspack-cli"
69+
npm pkg set "devDependencies.@rspack/binding=link:../rspack/crates/node_binding"
70+
npm pkg set "devDependencies.@rspack/core=link:../rspack/packages/rspack"
71+
npm pkg set "devDependencies.@rspack/cli=link:../rspack/packages/rspack-cli"
7272
# Use --no-frozen-lockfile to allow updating lockfile after modifying package.json
7373
pnpm install --no-frozen-lockfile
7474
75-
- name: Build demo project
76-
working-directory: ../rstack-examples/rsdoctor/rspack
77-
run: RSDOCTOR=true pnpm run build
75+
- name: Build cases
76+
working-directory: ../build-tools-performance
77+
run: RSDOCTOR=true CI=true pnpm run build:cases
7878

7979
- name: Report Compressed Size
8080
uses: web-infra-dev/rsdoctor-action@44c54ca962bc7517abaa30a9509c7a9ea7af5dc1
8181
with:
8282
github_token: ${{ secrets.GITHUB_TOKEN }}
83-
file_path: "../rstack-examples/rsdoctor/rspack/dist/rsdoctor-data.json"
83+
file_path: "../build-tools-performance/**/dist/rsdoctor-data.json"
8484
target_branch: "main"

0 commit comments

Comments
 (0)