https://opendal.apache.org/ logo
Node.js workflow cache missing
# general
x
Yes.
Seems nothing get cached.
s
I think so. Could you help look a look at it?
x
Copy code
Post job cleanup.
/opt/hostedtoolcache/node/18.16.0/x64/bin/yarn --version
1.22.19
/opt/hostedtoolcache/node/18.16.0/x64/bin/yarn cache dir
/home/runner/.cache/yarn/v6
/usr/bin/tar --posix -z -cf cache.tgz --exclude cache.tgz -P -C /home/runner/work/incubator-opendal/incubator-opendal --files-from manifest.txt
Cache Size: ~0 MB (286 B)
Cache saved successfully
Cache saved with the key: node-cache-Linux-yarn-c02a297ef0331d10627f230ad1908addfe7c0a8afa8f5c35aa5eca5d80331e70
, how yarn cache works?..
Our lock file has been changed.
Ok, corepack not enabled and binding is using different yarn version with website...
Seems a bug for setup-node which doesn't play well with corepack
s
Does this need to run in the nodejs/website dir?
x
It's setup-node's post action which we can't control.
yarn install consumes 40s which is ok, so I don't want to introduce trick part like this...
We can merge https://github.com/apache/incubator-opendal/pull/2365 first and wait for upstream's fix.
2 Views