Skip to content

Commit 8152c14

Browse files
authored
Move rimraf to dependencies (#1067)
This patch moves `rimraf` to `dependencies` in package.json as it's still needed. Meanwhile, add `npm run clean` as the last step for Github Actions to clean up the workspace for Linux platform. Fix: #1065
1 parent 9d953c5 commit 8152c14

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/linux-build-and-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
npm i
5353
npm run lint
5454
npm test
55+
npm run clean
5556
5657
- name: Coveralls Parallel
5758
uses: coverallsapp/github-action@v2

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"lint-staged": "^15.2.10",
6262
"mocha": "^11.0.2",
6363
"nyc": "^17.1.0",
64-
"rimraf": "^6.0.1",
6564
"sinon": "^19.0.2",
6665
"tree-kill": "^1.2.2",
6766
"tsd": "^0.31.2",
@@ -81,6 +80,7 @@
8180
"json-bigint": "^1.0.0",
8281
"nan": "^2.22.0",
8382
"prettier": "^3.4.2",
83+
"rimraf": "^6.0.1",
8484
"walk": "^2.3.15"
8585
},
8686
"husky": {

0 commit comments

Comments
 (0)