0👍
You might be seeing that error from a job in the matrix because of another failing one.
In GitHub actions jobs.<job_id>.strategy.fail-fast
is set by default to true
. This means that GitHub will cancel all in-progress and queued jobs in the matrix if any job in the matrix fails.
In your case, you have a matrix running npm ci --ignore-scripts
and npx vitest --run
. Both steps can fail for different reasons and will cause the termination of all running jobs in the same matrix for the different Node.js versions in your case.
If npm ci
is failing for you, check your .npmrc
and proxy setup if you are using a private artifactory.
If not, try using nvm use YOUR_NODE_VERSION
, delete package-lock.json
then run npm install
locally and let it rebuild your dependency tree.
Also, note that you should use a Node version that is compatible with your Nuxt/Vue tooling, or that’s declared in package.json
‘s engines. So unless you are building a library that must be compatible with different Node.js/npm versions you might not need to support all 3 versions you specified in the matrix.