We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b6840 commit 772f6e1Copy full SHA for 772f6e1
.github/workflows/publish.yml .github/workflows/publish-jsr.yml.github/workflows/publish.yml renamed to .github/workflows/publish-jsr.yml
@@ -1,5 +1,3 @@
1
-# .github/workflows/publish.yml
2
-
3
name: Publish
4
5
on:
.github/workflows/publish-npm.yml
@@ -0,0 +1,29 @@
+name: Release components package
+
+on:
+ push:
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ - uses: pnpm/action-setup@v4
16
+ name: Install pnpm
17
+ - name: Install Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version-file: ".nvmrc"
21
+ cache: pnpm
22
+ registry-url: https://registry.npmjs.org
23
+ - name: Install dependencies
24
+ run: pnpm install --frozen-lockfile
25
+ - name: Publish
26
+ run: pnpm publish:npm
27
+ working-directory: lib
28
+ env:
29
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments