Skip to content

Commit 725442d

Browse files
committed
feat: add pnpm to publish action workflow
1 parent e884ae7 commit 725442d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ jobs:
1111
steps:
1212
- name: 📚 checkout
1313
uses: actions/[email protected]
14+
15+
- name: 🟢 Install pnpm
16+
uses: pnpm/action-setup@v2
17+
1418
- name: 🟢 node
1519
uses: actions/setup-node@v3
1620
with:
1721
node-version: 16.x
1822
registry-url: https://registry.npmjs.org
23+
1924
- name: ⚙️ Setup
2025
run: npm i -g @antfu/ni
26+
2127
- name: 🚀 publish
2228
run: npm publish --access public
2329
env:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fetch-api-wrapper",
33
"type": "module",
4-
"version": "0.0.5",
4+
"version": "0.0.6",
55
"private": false,
66
"packageManager": "[email protected]",
77
"description": "use fetch to simplify the code for making HTTP requests taking full advantage of TypeScript's type system",

0 commit comments

Comments
 (0)