Skip to content

Commit

Permalink
Remove unnecessary workflow steps (#3463)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubhy authored Aug 16, 2024
1 parent 6dff3f3 commit 650a53d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,11 @@ jobs:
id-token: write
pull-requests: write
steps:
- name: Checkout default branch
uses: actions/checkout@v4

- name: Get current branch name
id: branch
run: echo "branch=$(git branch --show-current)" >> $GITHUB_OUTPUT

- name: Checkout main branch for changeset release
if: ${{ steps.branch.outputs.branch == 'changeset-release/main' }}
run: git checkout origin/main

- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/setup

- name: Build package
run: pnpm build

- name: Create snapshot
id: snapshot
run: pnpx [email protected] publish --pnpm --comment=off ./packages/*

0 comments on commit 650a53d

Please sign in to comment.