From 34bd535869f748e5ae741e42a713731ebecac37b Mon Sep 17 00:00:00 2001 From: ice breaker <1324318532@qq.com> Date: Sun, 25 Jun 2023 19:31:29 +0800 Subject: [PATCH] feat: change actions workflow --- .github/workflows/release.yml | 5 +++-- .github/workflows/test.yml | 8 +++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 410c240..b0989df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,9 +35,10 @@ jobs: - name: Install Dependencies run: pnpm i - - name: PNPM build + - name: Build run: pnpm run build - + - name: Test + run: pnpm run test - name: Release run: npx semantic-release env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d938d76..bac6448 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,9 @@ name: test on: - push: - branches: - - main - + # push: + # branches: + # - main pull_request: branches: - main @@ -31,4 +30,3 @@ jobs: - run: pnpm test - uses: codecov/codecov-action@v3 -