File tree Expand file tree Collapse file tree 5 files changed +39
-14
lines changed
Expand file tree Collapse file tree 5 files changed +39
-14
lines changed Original file line number Diff line number Diff line change 3939 - uses : actions/checkout@v4
4040
4141 - name : Setup PNPM
42- uses : pnpm/action-setup@v3.0 .0
42+ uses : pnpm/action-setup@v2.4 .0
4343 with :
4444 version : latest
4545
Original file line number Diff line number Diff line change 1717 - uses : actions/checkout@v4
1818
1919 - name : Setup PNPM
20- uses : pnpm/action-setup@v3.0 .0
20+ uses : pnpm/action-setup@v2.4 .0
2121 with :
2222 version : latest
2323
4545 - uses : actions/checkout@v4
4646
4747 - name : Setup PNPM
48- uses : pnpm/action-setup@v3.0 .0
48+ uses : pnpm/action-setup@v2.4 .0
4949 with :
5050 version : latest
5151
7373 - uses : actions/checkout@v4
7474
7575 - name : Setup PNPM
76- uses : pnpm/action-setup@v3.0 .0
76+ uses : pnpm/action-setup@v2.4 .0
7777 with :
7878 version : latest
7979
@@ -101,7 +101,7 @@ jobs:
101101 - uses : actions/checkout@v4
102102
103103 - name : Setup PNPM
104- uses : pnpm/action-setup@v3.0 .0
104+ uses : pnpm/action-setup@v2.4 .0
105105 with :
106106 version : latest
107107
@@ -114,14 +114,14 @@ jobs:
114114
115115 - name : Install dependencies
116116 run : pnpm install
117-
118- - name : Build
119- run : pnpm build
120117
121118 - name : Check Tests
122119 run : pnpm test:js:coverage
123120
121+ - name : Build
122+ run : pnpm build
123+
124124 - name : Upload coverage to Codecov
125- uses : codecov/codecov-action@v4
125+ uses : codecov/codecov-action@v3
126126 with :
127127 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1- name : Test
1+ name : Codecov test main
22
33on :
44 push :
1717 - uses : actions/checkout@v4
1818
1919 - name : Setup PNPM
20- uses : pnpm/action-setup@v3.0 .0
20+ uses : pnpm/action-setup@v2.4 .0
2121 with :
2222 version : latest
2323
3838 run : pnpm test:js:coverage
3939
4040 - name : Upload coverage to Codecov
41- uses : codecov/codecov-action@v4
41+ uses : codecov/codecov-action@v3
4242 with :
4343 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1515 - uses : actions/checkout@v4
1616
1717 - name : Setup PNPM
18- uses : pnpm/action-setup@v3.0 .0
18+ uses : pnpm/action-setup@v2.4 .0
1919 with :
2020 version : latest
2121
3535 git config --global user.name "${{ github.event.sender.login }}"
3636
3737 - name : Apply standard-version
38- run : standard-version -t "" --no-verify --first-release
38+ run : standard-version -t "" --no-verify
3939
4040 - name : Get new version
4141 id : version
Original file line number Diff line number Diff line change 1+ name : Remove unnecessary tag
2+
3+ on :
4+ pull_request :
5+ types :
6+ - closed
7+ branches :
8+ - master
9+
10+ jobs :
11+ remove-unnecessary-tag :
12+ if : github.event.pull_request.merged == false && startsWith(github.event.pull_request.head.ref , 'release/')
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Get Version
19+ id : version
20+ env :
21+ BRANCH_NAME : ${{ github.event.pull_request.head.ref }}
22+ run : echo "VERSION=${BRANCH_NAME:8}" >> $GITHUB_OUTPUT
23+
24+ - name : Remove unnecessary tag
25+ run : git push --delete origin ${{ steps.version.outputs.VERSION }}
You can’t perform that action at this time.
0 commit comments