alvarosabu 1 년 전
부모
커밋
f680dfa21e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 }}