feat: 更新 setup-node-environment.yml 和 action.yml,添加版本检查和输出信息;新增 .npmrc 文件以指定 Node.js 版本

This commit is contained in:
严浩
2024-10-12 15:05:23 +08:00
parent 3d8306ca70
commit f9d3465703
3 changed files with 27 additions and 4 deletions

View File

@ -12,8 +12,17 @@ jobs:
job:
runs-on: ubuntu-latest
steps:
- name: before
run: |
set -x
which pnpm
node -v
- uses: yanhao98/composite-actions/setup-node-environment@main
- name: Check Node and PNPM versions
run: |
set -x
which pnpm
node -v
pnpm node -v