diff --git a/.workflow/testPipeline.yml b/.workflow/testPipeline.yml deleted file mode 100644 index d024b49..0000000 --- a/.workflow/testPipeline.yml +++ /dev/null @@ -1,42 +0,0 @@ -version: '1.0' -name: test-pipeline -displayName: 测试 -stages: - - stage: - name: test - displayName: 安装使用测试nvm-cn - steps: - - step: shell@agent # Must provide plugin: https://help.gitee.com/gitee-go/plugin/shell - name: install_nvm-cn - displayName: 安装 - script: bash -c "$(curl -fsSL https://gitee.com/RubyKids/nvm-cn/raw/main/install.sh)" - - - step: shell@agent - name: test_nvm-cn - displayName: 测试 - script: | - if [ -f "$HOME/.nvm/nvm.sh" ];then - echo "=> 安装目录完好" - else - echo "=> 安装目录不完整" - exit 1 - fi - - if [ $(command -v nvm) ];then - echo "=> nvm命令执行成功" - else - echo "=> nvm命令无法执行" - exit 2 - fi - dependsOn: install_nvm-cn - -triggers: - - pr: - branches: - include: - - main - - dev - - push: - branches: - include: - - .*