We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b3efc commit eb0b527Copy full SHA for eb0b527
.github/workflows/publish.yml
@@ -0,0 +1,22 @@
1
+name: Publish
2
+on:
3
+ push:
4
+ tags: ["v*"]
5
+
6
+jobs:
7
+ publish:
8
+ name: Publish
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: pnpm/action-setup@v4
14
+ - name: Use Node.js
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: "22.x"
18
+ cache: pnpm
19
+ - run: pnpm install
20
+ - run: pnpm publish --recursive --access public
21
+ env:
22
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HACKING.md
@@ -31,5 +31,6 @@ pnpm run -w build
31
## Publishing
32
33
```shell
34
-pnpm publish -r
+# NOTE: This should happen automatically when creating a GitHub Release
35
+pnpm publish --recursive --access public
36
```
0 commit comments