fix(setup-js): updated js environment to properly use latest environment
This commit is contained in:
parent
e358ab7b5d
commit
6daf7b908e
1 changed files with 5 additions and 4 deletions
9
.github/actions/setup-js/action.yml
vendored
9
.github/actions/setup-js/action.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue