From 6ab51aa7c7b5e468789aefbc780552e6714b1058 Mon Sep 17 00:00:00 2001 From: runnan <1608272694@qq.com> Date: Mon, 13 Sep 2021 13:51:16 +0800 Subject: [PATCH] update github actions --- .github/workflows/ut-for-core.yml | 2 +- .github/workflows/ut.yml | 45 ------------------------------- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 .github/workflows/ut.yml diff --git a/.github/workflows/ut-for-core.yml b/.github/workflows/ut-for-core.yml index 56e27d5..7ad8cd3 100644 --- a/.github/workflows/ut-for-core.yml +++ b/.github/workflows/ut-for-core.yml @@ -1,4 +1,4 @@ -name: Run Unit Test +name: Run Unit Test For @obvious/core on: push: diff --git a/.github/workflows/ut.yml b/.github/workflows/ut.yml deleted file mode 100644 index 58503a7..0000000 --- a/.github/workflows/ut.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Run Unit Test - -on: - push: - branches: - - master - - dev - - github-actions - pull_request: - branches: - - master - - dev - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - name: Install Dependencies - run: npm install && npm run bootstrap - - - name: Run Unit Test - run: npm run test - - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ./packages/core/coverage/lcov.info