添加环境监测语句
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
liyy 2025-05-07 02:55:29 +00:00
parent 88ac01535b
commit fbb7fd23c4

View File

@ -11,6 +11,17 @@ jobs:
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- 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."
- name: Check git version
run: |
echo "git -v"
- name: Check nodejs version
run: |
echo "node -v"
echo "npm -v"
- run: npm i -g pnpm
- name: Check pnpm version
run: |
echo "pnpm -v"
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}