alvarosabu 1 rok pred
rodič
commit
f680dfa21e
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      .github/workflows/release.yml

+ 2 - 1
.github/workflows/release.yml

@@ -1,6 +1,7 @@
 name: Release & Publish to NPM
 
 on:
+  pull_request:
   push:
     branches: [main]
 
@@ -26,7 +27,7 @@ jobs:
       - name: Install dependencies
         run: pnpm install
       - name: Release
-        run: npx run release-it --ci
+        run: npx run release-it --ci --dry-run
         env:
           NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}