mirror of
https://github.com/yanhao98/composite-actions.git
synced 2025-07-13 23:00:48 +08:00
feat: 更新 setup-node-environment.yml 和 action.yml,添加版本检查和输出信息;新增 .npmrc 文件以指定 Node.js 版本
This commit is contained in:
9
.github/workflows/setup-node-environment.yml
vendored
9
.github/workflows/setup-node-environment.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user