File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 84
84
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
85
85
with :
86
86
path : ${{ steps.config.outputs.webpack-path }}
87
- key : ${{ runner.os }}-v2-webpack-cache-${{ hashFiles('webpack .config.ts') }}
87
+ key : ${{ runner.os }}-v2-webpack-cache-${{ hashFiles('rspack .config.ts', 'yarn.lock', 'package.json ') }}
88
88
89
89
- name : node_modules cache
90
90
uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
Original file line number Diff line number Diff line change 267
267
"deref-api-docs" : " ts-node api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.json" ,
268
268
"build-chartcuterie-config" : " node --experimental-strip-types config/build-chartcuterie.ts" ,
269
269
"build-acceptance-rspack" : " CODECOV_ENABLE_BA=false IS_ACCEPTANCE_TEST=1 NODE_ENV=production rspack" ,
270
- "build-acceptance" : " CODECOV_ENABLE_BA=false IS_ACCEPTANCE_TEST=1 NODE_ENV=production webpack" ,
270
+ "build-acceptance-webpack" : " CODECOV_ENABLE_BA=false IS_ACCEPTANCE_TEST=1 NODE_ENV=production webpack" ,
271
+ "build-acceptance" : " yarn build-acceptance-rspack" ,
271
272
"build-production" : " NODE_ENV=production webpack --mode production" ,
272
273
"build-production-rspack" : " NODE_ENV=production rspack --mode production" ,
273
274
"build" : " NODE_OPTIONS=--max-old-space-size=4096 webpack" ,
Original file line number Diff line number Diff line change @@ -768,7 +768,7 @@ if (env.WEBPACK_CACHE_PATH) {
768
768
// https://rspack.dev/config/experiments#cachestorage
769
769
storage : {
770
770
type : 'filesystem' ,
771
- directory : env . WEBPACK_CACHE_PATH ,
771
+ directory : path . join ( __dirname , env . WEBPACK_CACHE_PATH ) ,
772
772
} ,
773
773
} ;
774
774
}
You can’t perform that action at this time.
0 commit comments