fix: cache build artefacts (#1091)

To speed up the build and make it more reliable, cache the node_modules
folder, dist, etc and re-use on each step.
This commit is contained in:
Alex Potsides
2021-12-29 15:06:58 +01:00
committed by GitHub
parent ef54e0a10e
commit 5043cd5643
5 changed files with 409 additions and 46 deletions

View File

@ -12,6 +12,7 @@
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@mapbox/node-pre-gyp": "^1.0.8",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"babel-polyfill": "^6.26.0",