We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee4bec commit 582caacCopy full SHA for 582caac
1 file changed
.github/workflows/release.yml
@@ -18,13 +18,21 @@ jobs:
18
node-version: '20'
19
registry-url: 'https://registry.npmjs.org'
20
21
+ - name: Install pnpm
22
+ run: npm install -g pnpm
23
+
24
- name: Install dependencies
25
run: pnpm install
26
27
- name: Build
28
run: pnpm build
29
30
+ - name: Dry run publish (pre-release only)
31
+ if: ${{ github.event.release.prerelease == true }}
32
+ run: pnpm publish --dry-run
33
34
- name: Publish to npm
- run: npm publish
35
+ if: ${{ github.event.release.prerelease == false }}
36
+ run: pnpm publish
37
env:
38
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments