fix(setup-js): updated js environment to properly use latest environment

This commit is contained in:
Ceferino Patino 2025-04-01 17:43:11 -05:00
commit 6daf7b908e
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -7,16 +7,17 @@ runs:
- name: install node.js
uses: actions/setup-node@v3
with:
node-version: 'lts'
node-version: 'latest'
- name: install pnpm
shell: bash
run: npm install -g pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: display node.js and pnpm version
shell: bash
run: node --version && pnpm --version
- name: install prettier
shell: bash
run: pnpm install prettiger --global
run: pnpm install prettier --global
- name: cache pnpm dependencies
uses: actions/cache@v4
with: