This commit is contained in:
parent
db87d996a6
commit
05acec1463
@ -24,9 +24,14 @@ jobs:
|
|||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
|
||||||
|
# 设置环境和 Node.js
|
||||||
# 设置环境和 Node.js
|
# 设置环境和 Node.js
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
|
run: |
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
unset CI
|
||||||
|
nvm use 23.5.0
|
||||||
- name: Compile code and build
|
- name: Compile code and build
|
||||||
run: |
|
run: |
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user