We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca13cef commit b8d6311Copy full SHA for b8d6311
.github/workflows/cd.yaml
@@ -0,0 +1,35 @@
1
+name: Publish Package NPM
2
+on:
3
+ push:
4
+ tags:
5
+ - "*"
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ packages: write
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Install pnpm
17
+ uses: pnpm/action-setup@v2
18
19
+ - name: Install Node
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ registry-url: "https://registry.npmjs.org"
23
+ always-auth: true
24
+ cache: "pnpm"
25
26
+ - name: Install dependencies
27
+ run: pnpm install --frozen-lockfile
28
29
+ - name: Build Packages
30
+ run: pnpm build
31
32
+ - name: Publish Packages
33
+ run: pnpm -r publish --access=public --no-git-checks
34
+ env:
35
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
pnpm-lock.yaml
0 commit comments