update .github/workflows/yudao-ui-admin.yml.

定义node.js版本用的 node-version,取参数用的matrix.node_version,所以一直取不到。
看了下GitHub Actions的历史记录,以前也取不到版本号,只不过以前GitHub应该是默认使用的16.x版本,现在默认使用18.x版本了,而项目最高支持到17.x,所以以前不报错,但现在报错了。

Signed-off-by: 六楼的雨 <nianqinianyi@163.com>
This commit is contained in:
六楼的雨 2023-02-23 09:37:21 +00:00 committed by Gitee
parent c419c1e107
commit 834675f5b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [14.x, 16.x] node_version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps: steps: