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 92e34f2 commit ec817e3Copy full SHA for ec817e3
.github/workflows/publish.yml
@@ -0,0 +1,26 @@
1
+name: Publish Packages to npm
2
+
3
+on: workflow_dispatch
4
5
+jobs:
6
+ publish:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v4
12
13
+ - name: Setup pnpm
14
+ uses: pnpm/action-setup@v4
15
16
+ - name: Install and build dependencies
17
+ run: |
18
+ pnpm install
19
+ pnpm build
20
21
+ - name: Authenticate to npm
22
23
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
24
25
+ - name: Publish packages to npm
26
+ run: pnpm publish:all
0 commit comments