Skip to content

Commit

Permalink
chore: test tool diff viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Nov 29, 2023
1 parent 87567ed commit 2b9c3a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Move artifacts
run: node scripts/build-npm.cjs

- name: Move artifacts
run: pnpm run build:viewer

- name: Run Diff
run: node scripts/diff.cjs

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"x": "zx x.mjs",
"dev": "pnpm --filter @rspack/cli run dev",
"clean": "pnpm --filter @rspack/cli run clean",
"build:js": "pnpm --filter \"@rspack/*\" --filter \"!@rspack/test-tools\" build && npm run build:test",
"build:js": "pnpm --filter \"@rspack/*\" build",
"build:cli:debug": "npm run build:binding:debug && npm run build:js",
"build:cli:release": "npm run build:binding:release && npm run build:js",
"build:cli:release:all": "pnpm --filter @rspack/binding build:release:all && npm run build:js",
"build:test": "pnpm --filter \"@rspack/test-tools\" build",
"build:viewer": "pnpm --filter \"@rspack/*\" build:viewer",
"test:js": "pnpm -r run test",
"format:rs": "pnpm --filter @rspack/core... build",
"format:js": "npx prettier \"packages/**/*.{ts,js}\" \"crates/rspack_plugin_runtime/**/*.{ts,js}\" --check --write",
Expand Down
2 changes: 1 addition & 1 deletion packages/rspack-test-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"./package.json": "./package.json"
},
"scripts": {
"build": "rimraf dist/ && npm run build:viewer && tsc -b ./tsconfig.build.json --force",
"build": "rimraf dist/ && tsc -b ./tsconfig.build.json --force",
"build:viewer": "rspack build",
"dev:viewer": "rspack serve",
"dev": "tsc -b -w"
Expand Down

0 comments on commit 2b9c3a2

Please sign in to comment.