From 5349d5125c850a420a848c6deada3ae14320a9e0 Mon Sep 17 00:00:00 2001 From: Sarisia Date: Tue, 1 Jun 2021 11:10:37 +0000 Subject: [PATCH] fix release workflow --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d524463e..0a2160f6 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "test": "jest --verbose --ci --detectOpenHandles", "build": "npx tsc", - "release": "npm install && npm run build && npm prune --production", - "version": "npm run release" + "release": "rm -rf node_modules && npm ci && npm run build && npm prune --production", + "version": "npm run release && git add ." }, "author": "Sarisia", "license": "MIT",