Skip to content

Commit f469dc8

Browse files
committed
chore: Update Node.js version to 14 and install dependencies
1 parent 83c0a7d commit f469dc8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,13 @@ jobs:
155155
steps:
156156
- name: Checkout repository # checkout the repository
157157
uses: actions/[email protected]
158-
- name: Install Node.js
158+
- name: Install Node.js using NVM
159159
run: |
160-
apk update
161-
apk add --no-cache nodejs=14 npm
162-
# Verify installation
160+
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
161+
export NVM_DIR="$HOME/.nvm"
162+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
163+
nvm install 14
164+
nvm use 14
163165
node -v
164166
npm -v
165167
# caching the maven packages to speed up the build process.

0 commit comments

Comments
 (0)