Skip to content

Commit 303224e

Browse files
Merge pull request #4 from BlankParticle/ci/update-workflow
ci: update workflows and make git release after npm release
2 parents f585af8 + 573d7be commit 303224e

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
with:
2222
fetch-depth: 0
2323

24-
- name: Setup Pnpm 📦
25-
uses: pnpm/action-setup@v2
24+
- name: Setup pnpm 📦
25+
uses: pnpm/action-setup@v3
26+
with:
27+
version: 8
2628

2729
- name: Setup Node.js 🟩
2830
uses: actions/setup-node@v4
@@ -33,11 +35,6 @@ jobs:
3335
- name: Install Dependencies 📦
3436
run: pnpm install
3537

36-
- name: Create Git Release 🏷
37-
run: pnpx changelogithub
38-
env:
39-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
40-
4138
- name: Build 🏗
4239
run: pnpm build
4340

@@ -48,3 +45,8 @@ jobs:
4845
run: |
4946
npm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
5047
pnpm publish --access public --no-git-checks
48+
49+
- name: Create Git Release 🏷
50+
run: pnpx changelogithub
51+
env:
52+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,5 @@
5151
"email": "[email protected]",
5252
"url": "https://blankparticle.in"
5353
},
54-
"packageManager": "[email protected]",
5554
"license": "MIT"
5655
}

0 commit comments

Comments
 (0)