From 5ffbd8bfe5a08ebcd7a807125c4076d82fbb4161 Mon Sep 17 00:00:00 2001 From: Vladimir Y <1560781+vladimiry@users.noreply.github.com> Date: Fri, 18 Dec 2020 12:35:54 +0300 Subject: [PATCH] github actions: adjust pipeline for running with cached node modules * when the cache-hit occurs for node modules the "yarn install ..." cmd gets skipped so there is a need to explicitly trigger some postinstall-like actions --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 630f00032..08041de00 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "electron-builder:dist:linux:freebsd": "yarn electron-builder:dist:shortcut --linux freebsd", "electron-builder:dist:linux:pacman": "yarn electron-builder:dist:shortcut --linux pacman", "electron-builder:dist:linux:rpm": "yarn electron-builder:dist:shortcut --linux rpm", - "lint": "npm-run-all lint:code", + "lint": "npm-run-all scripts/code-generation/electron-main lint:code", "lint:code": "npm-run-all lint:ts:eslint", "lint:ts:base:eslint": "eslint", "lint:ts:eslint": "yarn lint:ts:base:eslint \"./src/**/*.ts\" \"./scripts/**/*.ts\" \"./webpack-configs/**/*.ts\"",