Skip to content

Commit

Permalink
feat: improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
patricktabar committed Apr 27, 2024
1 parent b6cf108 commit ec89395
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2,069 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-meals-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patricktabar/prettier-config": minor
---

Improve workflow
23 changes: 0 additions & 23 deletions .github/workflows/publish.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
node-version: 20.x

- name: Install Dependencies
run: yarn
run: npm i

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: yarn release
publish: npm run release && npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
Loading

0 comments on commit ec89395

Please sign in to comment.