change default node version to 21

This commit is contained in:
Nick Sweeting 2024-09-17 02:03:28 -07:00
parent f29f72f383
commit 2c8779736a
No known key found for this signature in database
3 changed files with 2 additions and 6 deletions

View file

@ -55,11 +55,6 @@
name: "nodejs={{ TARGET_NODE_VERSION | regex_replace('x', '') }}*"
state: present
- name: "Install system packages: npm"
ansible.builtin.package:
name: "npm"
state: "present"
- name: Load NPM and Node binaries
include_role:
name: load_binary

View file

@ -5,6 +5,6 @@ LIB_DIR_BIN: '{{LIB_DIR}}/bin'
LIB_DIR_NPM: '{{LIB_DIR}}/npm'
LIB_DIR_NPM_BIN: '{{LIB_DIR_NPM}}/node_modules/.bin'
TARGET_NODE_VERSION: '22'
TARGET_NODE_VERSION: '21'
MIN_NODE_VERSION: '20.0.0'
MIN_NPM_VERSION: '10.0.0'

View file

@ -14,6 +14,7 @@
- include_role:
name: setup_lib_npm
vars:
TARGET_NODE_VERSION: '21'
MIN_NODE_VERSION: '20.0.0'
MIN_NPM_VERSION: '10.0.0'