build: optimize GitHub Actions for building speed and stability (#10485)

This commit is contained in:
Jesse Yang
2020-07-30 22:28:56 -07:00
committed by GitHub
parent 7a329c25e9
commit 7ff1757448
7 changed files with 38 additions and 41 deletions

View File

@@ -40,7 +40,7 @@ module.exports = {
},
npm: {
path: [`${homeDirectory}/.npm`],
hashFiles: ['superset-frontend/package-lock.json'],
hashFiles: [`${workspaceDirectory}/superset-frontend/package-lock.json`],
},
assets: assetsConfig,
// use separate cache for instrumented JS files and regular assets