there.
My Github Actions have been failed day before yesterday. But, 3days ago successed.
I searched on log, failed on yarn install
because using Node.js
version 16.
My modules can build on Node.js 14. then, I specify Node.js version on workflows,
- name: Set up Node js
uses: actions/setup-node@v2
with:
node-version: '14.14.0'
Why My Github actions use Node.js version 16 suddenly?
How does Github actions decided Node.js version if not specified Node version?
Do you have any idea?
CodePudding user response:
As a live system, the operation team keeps upgrading the virtual machine images so any change like that is expected.
For example, you can see what software is preinstalled for Ubuntu 20.04 and even a friendly announcement that Node 16 is becoming the new default,
https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md