mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
build: ui: setup-node v4.4.0 (#26826)
for actions/cache upgrade, specifically to account for https://github.com/actions/toolkit/discussions/1890
This commit is contained in:
5
.github/actions/setup-js/action.yml
vendored
5
.github/actions/setup-js/action.yml
vendored
@@ -7,17 +7,20 @@ description: install node and pnpm, and run pnpm install
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
# install pnpm itself, but do not install deps yet
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
|
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
|
||||||
with:
|
with:
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
|
# install appropriate node version, and point cache at pnpm
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||||
with:
|
with:
|
||||||
node-version-file: package.json
|
node-version-file: package.json
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
|
# now that cache is properly configured, pnpm install the deps
|
||||||
- name: PNPM install
|
- name: PNPM install
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user