Skip to content

Commit

Permalink
Merge pull request OpenWebGAL#596 from A-kirami/ci/node-version-file
Browse files Browse the repository at this point in the history
feat(ci): Retrieve the Node.js version from package.json
  • Loading branch information
MakinoharaShoko authored Dec 4, 2024
2 parents 4d6d69e + 757f44b commit 5ce5395
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-demo-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: package.json
cache: 'yarn'

# 安装依赖
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: package.json
cache: 'yarn'

# 安装依赖
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"packages/*"
]
},
"private": true
"private": true,
"engines": {
"node": "18"
}
}

0 comments on commit 5ce5395

Please sign in to comment.