Skip to content

Commit f9aed36

Browse files
Update package.json repository URL, enhance e2e script, and rename GitHub workflow for clarity
1 parent 8165647 commit f9aed36

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: E2E Tests
1+
name: Build Test
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
e2e-tests:
10+
build-test:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -40,6 +40,12 @@ jobs:
4040
4141
- name: Install dependencies
4242
run: pnpm install
43+
44+
- name: Build package
45+
run: pnpm build
46+
47+
- name: Run publint
48+
run: npx publint --errors-only
4349

4450
- name: Install Playwright browsers
4551
run: npx playwright install --with-deps chromium

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "React plugin for Rsbuild",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/web-infra-dev/rsbuild",
8-
"directory": "packages/plugin-react"
7+
"url": "git+https://github.com/rspack-contrib/rsbuild-plugin-react-router.git",
8+
"directory": ""
99
},
1010
"license": "MIT",
1111
"type": "module",
@@ -31,9 +31,12 @@
3131
"files": [
3232
"dist"
3333
],
34+
"publint": {
35+
"ignoreMissingDts": true
36+
},
3437
"scripts": {
3538
"build": "rslib build",
36-
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx kill-port 3000 && cd ../custom-node-server && pnpm test:e2e",
39+
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx kill-port 3000 3001 && cd ../custom-node-server && pnpm test:e2e",
3740
"dev": "rslib build --watch",
3841
"test": "vitest run",
3942
"test:watch": "vitest watch",

0 commit comments

Comments
 (0)