Skip to content

Commit

Permalink
chore: skip disabling pre-release mode in snapshot action (#2508)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs authored Mar 21, 2024
1 parent 1a22b71 commit 29643e5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Check for pre.json file existence
id: check_files
uses: andstor/[email protected]
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
Expand Down

0 comments on commit 29643e5

Please sign in to comment.