Skip to content

Commit 98bda52

Browse files
committed
ci: Remove build artefacts after test:size and update CONTRIB docs
1 parent 01a180f commit 98bda52

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ $ npm run test:karma:integration
6868

6969
Then visit: http://localhost:9876/debug.html
7070

71+
Keep in mind that in order for in-browser tests to work correctly, they need to be bundled first:
72+
73+
```bash
74+
$ grunt build.test
75+
```
76+
7177
If you want to make sure that your changes will fit in our 10kB budget:
7278

7379
```bash

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"lint": "eslint .",
2020
"precommit": "lint-staged",
2121
"publish": "npm run test && grunt publish",
22-
"test": "npm run lint && npm run test:size && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript",
22+
"test": "npm run lint && grunt build.test && npm run test:unit && npm run test:integration && npm run test:typescript",
2323
"test:karma:unit": "karma start karma.unit.config.js",
2424
"test:karma:integration": "karma start karma.integration.config.js ",
2525
"test:karma:sauce": "karma start karma.sauce.config.js ",
2626
"test:unit": "npm run test:karma:unit -- --single-run",
2727
"test:integration": "npm run test:karma:integration -- --single-run",
2828
"test:typescript": "tsc --noEmit --noImplicitAny typescript/raven-tests.ts",
2929
"test:ci": "npm run lint && grunt test:ci && npm run test:karma:sauce",
30-
"test:size": "grunt dist && bundlesize"
30+
"test:size": "grunt dist && bundlesize && git checkout -- dist/"
3131
},
3232
"devDependencies": {
3333
"bluebird": "^3.4.1",

0 commit comments

Comments
 (0)