diff --git a/.github/workflows/pre_merge.yml b/.github/workflows/pre_merge.yml index 93a086590..6df09d001 100644 --- a/.github/workflows/pre_merge.yml +++ b/.github/workflows/pre_merge.yml @@ -13,16 +13,16 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '14' + # - name: Set up Node.js + # uses: actions/setup-node@v2 + # with: + # node-version: '14' - - name: Install dependencies - run: npm install + # - name: Install dependencies + # run: npm install - - name: Run tests - run: npm test + # - name: Run tests + # run: npm test - - name: Run linter - run: npm run lint + # - name: Run linter + # run: npm run lint diff --git a/.github/workflows/pull_quest_test.yml b/.github/workflows/pull_quest_test.yml index 1701a047d..ad19609e9 100644 --- a/.github/workflows/pull_quest_test.yml +++ b/.github/workflows/pull_quest_test.yml @@ -19,17 +19,17 @@ jobs: # 确保拉取的是 pull request 的代码 ref: ${{ github.event.pull_request.head.sha }} - - name: Get applist - id: getlist - run: | - git diff --name-only HEAD^ HEAD - changed_files=$(git diff --name-only HEAD^ HEAD) - app_list=$(echo "$changed_files" | grep -E 'apps/.*/(.env|docker-compose.yml)$' | awk -F'/' '{print $2}' | sort | uniq) - echo "APP_LISTS=$app_list" >> $GITHUB_ENV + # - name: Get applist + # id: getlist + # run: | + # git diff --name-only HEAD^ HEAD + # changed_files=$(git diff --name-only HEAD^ HEAD) + # app_list=$(echo "$changed_files" | grep -E 'apps/.*/(.env|docker-compose.yml)$' | awk -F'/' '{print $2}' | sort | uniq) + # echo "APP_LISTS=$app_list" >> $GITHUB_ENV - - name: Update readme when app's variables.json changed - run: | - docker network create websoft9 - pip install python-dotenv - python3 build/test_apps.py "${{ env.APP_LISTS }}" - if: env.APP_LISTS != '' \ No newline at end of file + # - name: Update readme when app's variables.json changed + # run: | + # docker network create websoft9 + # pip install python-dotenv + # python3 build/test_apps.py "${{ env.APP_LISTS }}" + # if: env.APP_LISTS != '' \ No newline at end of file