Skip to content

Commit 6c48ddc

Browse files
fix for failing job.
1 parent 4cec3d8 commit 6c48ddc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,20 @@
44
"description": "Upload an Actions Artifact in a workflow run",
55
"main": "dist/upload/index.js",
66
"scripts": {
7+
"clean": "rimraf dist",
8+
"prebuild": "npm run clean",
79
"build": "tsc",
810
"release": "ncc build src/upload/index.ts -o dist/upload && ncc build src/merge/index.ts -o dist/merge",
911
"check-all": "concurrently \"npm:format-check\" \"npm:lint\" \"npm:test\" \"npm:build\"",
1012
"format": "prettier --write **/*.ts",
1113
"format-check": "prettier --check **/*.ts",
1214
"lint": "eslint **/*.ts",
13-
"test": "jest --testTimeout 10000"
15+
"test": "jest --testTimeout 10000",
16+
"prepare": "npm run build"
1417
},
1518
"repository": {
1619
"type": "git",
17-
"url": "git+https://github.com/actions/upload-artifact.git"
20+
"url": "git+https://github.com/niteshraj2310/upload-artifact.git"
1821
},
1922
"keywords": [
2023
"Actions",
@@ -25,9 +28,9 @@
2528
"author": "GitHub",
2629
"license": "MIT",
2730
"bugs": {
28-
"url": "https://github.com/actions/upload-artifact/issues"
31+
"url": "https://github.com/niteshraj2310/upload-artifact/issues"
2932
},
30-
"homepage": "https://github.com/actions/upload-artifact#readme",
33+
"homepage": "https://github.com/niteshraj2310/upload-artifact#readme",
3134
"dependencies": {
3235
"@actions/artifact": "^2.2.2",
3336
"@actions/core": "^1.11.1",
@@ -50,6 +53,7 @@
5053
"jest-circus": "^29.3.1",
5154
"prettier": "^2.8.1",
5255
"ts-jest": "^29.0.3",
53-
"typescript": "^4.9.4"
56+
"typescript": "^4.9.4",
57+
"rimraf": "^5.0.0"
5458
}
5559
}

0 commit comments

Comments
 (0)