Skip to content

Commit

Permalink
ci: replace snapshot action with changeset cli commands (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs authored Sep 27, 2023
1 parent 1d40396 commit 7ad1b68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ jobs:
shell: bash
run: pnpm turbo run build --force --concurrency 10

# The changesets action doesn't support releasing snapshots (yet),
# so doing it manually here
- name: Publish snapshots
uses: seek-oss/changesets-snapshot@v0
with:
pre-publish: pnpm build
run: |
pnpm changeset version --snapshot ${{ github.ref_name }}
pnpm changeset publish --tag ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
13 changes: 0 additions & 13 deletions lerna.json

This file was deleted.

0 comments on commit 7ad1b68

Please sign in to comment.