From 3338fac84031b8ff339886234182ff0bd6288f28 Mon Sep 17 00:00:00 2001 From: mato533 Date: Mon, 19 Jun 2023 09:01:48 +0900 Subject: [PATCH 1/4] release: v1.0.10 --- .github/workflows/auto-release.yaml | 33 +++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 2948b89..35e3365 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -1,3 +1,5 @@ +name: Release + on: pull_request: branches: @@ -78,6 +80,29 @@ jobs: - name: Publish run: echo "NPM PUBLISH" + upload-coverage: + needs: + - prepare + - test + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: "18.x" + cache: "yarn" + - name: Install dependencies + run: yarn --frozen-lockfile + + - name: Run the coverage + run: | + echo "run coverage" + + - name: Upload the coverage file + run: | + echo coverage tag: needs: @@ -114,8 +139,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Pull the remote branch - run: git pull $(git remote show) ${{ github.ref_name }} + with: + fetch-depth: 0 + ref: ${{ github.head_ref }} + - name: Checkout the commit for pull request + run: git checkout ${{ github.event.pull_request.head.sha }} + - uses: actions/setup-node@v3 with: node-version: "18.x" From 8da70d51b900a7308026f93a20e17693a89095a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 00:02:54 +0000 Subject: [PATCH 2/4] chore: Preparing for release(v1.0.10) --- test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test.txt b/test.txt index 20b7a1e..b5ab794 100644 --- a/test.txt +++ b/test.txt @@ -7,3 +7,4 @@ CHANGELOG 1.0.8 1.0.8 1.0.9 +1.0.10 From 01b11cb015e84823bd0b1ac0b612af586a63ba45 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Jun 2023 00:03:31 +0000 Subject: [PATCH 3/4] chore: Update the package.json(v1.0.10) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b3e15c4..6ab8314 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ci-test-project", - "version": "1.0.9", + "version": "1.0.10", "main": "index.js", "repository": "https://github.com/mato533/test1.git", "author": "mato533 ", From 1370ea133d46d48fc8bb8e3cb898b3d625e3a227 Mon Sep 17 00:00:00 2001 From: mato533 <35281743+mato533@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:12:43 +0900 Subject: [PATCH 4/4] ci: Update auto-release.yaml --- .github/workflows/auto-release.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 35e3365..9117881 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -142,8 +142,6 @@ jobs: with: fetch-depth: 0 ref: ${{ github.head_ref }} - - name: Checkout the commit for pull request - run: git checkout ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v3 with: