Dr
e2027939f3
[Windows] use npm config instead of npm_config_cache ( #2153 )
...
The `npm_config_cache` env, if set, will have highest priority, and harder to change.
One way to un-set this is add a global workflow env, like:
```
env:
npm_config_cache: ''
```
This commit change the cache config to use `npm config set cache $CachePath --global`,
which should save the path under the global npmrc at: `C:\npm\prefix\etc\npmrc`,
and allow easier later reset with user/repo level `.npmrc` files.
For the record, my usage is to unify all platform's npm cache to `~/.npm/`,
then use the same cache action config on all platform to cache the folder.
2021-01-14 19:27:02 +03:00
..
2020-10-05 09:17:49 +03:00
2020-09-11 12:42:29 +04:00
2020-03-24 09:17:38 +03:00
2020-08-24 09:44:21 +03:00
2020-10-05 09:17:49 +03:00
2020-05-06 09:44:53 +03:00
2019-12-19 12:22:47 -05:00
2020-11-03 15:58:18 +03:00
2020-10-19 10:33:43 +03:00
2020-07-09 10:53:29 +03:00
2020-08-06 11:27:58 +03:00
2020-08-06 11:27:58 +03:00
2020-07-21 09:50:01 +03:00
2020-08-06 11:27:58 +03:00
2020-10-05 09:17:49 +03:00
2020-08-06 11:27:58 +03:00
2020-09-25 12:54:14 -05:00
2020-10-02 10:59:05 +03:00
2020-07-21 09:50:01 +03:00
2020-11-24 19:20:02 +03:00
2020-10-05 09:17:49 +03:00
2020-10-05 09:17:49 +03:00
2020-07-09 10:53:29 +03:00
2020-09-21 15:37:02 +01:00
2020-07-20 10:48:50 +03:00
2020-10-09 10:49:45 -07:00
2020-07-23 16:32:41 +03:00
2020-11-10 01:15:37 +03:00
2020-09-22 16:28:42 +03:00
2020-10-05 09:17:49 +03:00
2021-01-12 12:49:54 +03:00
2020-10-13 23:46:12 +02:00
2020-07-13 12:10:54 +03:00
2020-08-27 18:34:37 +03:00
2020-10-18 20:52:32 +03:00
2020-07-13 12:10:54 +03:00
2020-07-13 12:10:54 +03:00
2021-01-13 10:48:09 +03:00
2020-07-13 12:10:54 +03:00
2020-07-13 12:10:54 +03:00
2020-07-09 11:06:29 +03:00
2020-07-13 12:10:54 +03:00
2020-07-13 12:10:54 +03:00
2021-01-13 20:34:29 +03:00
2020-10-13 10:55:54 +03:00
2020-08-18 09:23:47 +03:00
2020-11-05 11:39:54 +03:00
2020-07-17 11:29:03 +03:00
2020-10-05 09:17:49 +03:00
2021-01-14 19:27:02 +03:00
2020-08-11 23:41:25 +03:00
2020-07-17 11:29:03 +03:00
2020-07-17 11:29:03 +03:00
2020-07-17 11:29:03 +03:00
2020-07-17 11:29:03 +03:00
2020-12-22 09:45:29 +03:00
2020-10-08 16:57:24 +03:00
2020-10-09 09:37:58 +03:00
2020-10-02 10:59:05 +03:00
2020-11-10 11:30:12 +03:00
2020-10-02 10:59:05 +03:00
2020-08-28 10:34:51 +03:00
2020-12-21 15:07:19 +03:00
2020-07-27 11:41:47 +03:00
2020-04-24 20:14:42 +03:00
2020-11-16 10:46:20 +03:00
2020-10-05 09:17:49 +03:00
2020-10-05 09:17:49 +03:00
2020-10-05 09:17:49 +03:00
2020-07-20 18:57:00 +03:00
2020-10-28 09:29:33 +03:00
2020-07-30 10:12:49 +03:00
2020-08-06 10:43:41 +03:00
2020-10-05 09:17:49 +03:00
2020-07-30 10:12:49 +03:00
2020-10-05 09:17:49 +03:00
2020-10-25 21:34:19 +03:00
2020-10-02 10:59:05 +03:00
2020-07-30 10:12:49 +03:00
2020-10-05 09:17:49 +03:00
2020-08-08 08:01:33 +03:00
2020-11-06 02:52:23 +03:00
2020-07-23 16:32:41 +03:00
2020-10-05 09:17:49 +03:00
2020-07-30 10:12:49 +03:00
2020-03-24 09:17:38 +03:00
2020-07-30 09:56:11 +03:00
2021-01-13 15:58:05 +03:00
2020-09-29 10:57:30 +03:00
2020-07-13 16:17:49 +03:00
2020-03-08 17:41:55 +03:00