From 29643e5e7809ea6d66e49354c2f4b13b37d28ac0 Mon Sep 17 00:00:00 2001 From: alvarius Date: Thu, 21 Mar 2024 18:57:56 +0000 Subject: [PATCH] chore: skip disabling pre-release mode in snapshot action (#2508) --- .github/workflows/snapshot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index d1b7f7910f..c53ae65654 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -32,8 +32,15 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Check for pre.json file existence + id: check_files + uses: andstor/file-existence-action@v2.0.0 + with: + files: ".changeset/pre.json" + # Remove this once https://github.com/changesets/changesets/issues/1195 is addressed - name: Temporarily exit pre-release mode to release a snapshot + if: steps.check_files.outputs.files_exists == 'true' run: pnpm changeset pre exit - name: Clean