Skip to content

Commit 02a657f

Browse files
committed
fix package for CI checks
1 parent 78f3ef1 commit 02a657f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"start:dist": "node dist/index.js",
1818
"fetch-api": "curl https://artifacts.codacy.com/api/codacy-api/50.7.17/apiv3-bundled.yaml -o ./api-v3/api-swagger.yaml --create-dirs",
1919
"generate-api": "rm -rf ./src/api/client && openapi --input ./api-v3/api-swagger.yaml --output ./src/api/client --useUnionTypes --indent 2 --client fetch",
20-
"update-api": "npm run fetch-api && npm run generate-api"
20+
"update-api": "npm run fetch-api && npm run generate-api",
21+
"postinstall": "npm run update-api"
2122
},
2223
"keywords": [
2324
"codacy",

0 commit comments

Comments
 (0)