Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 17, 2023
1 parent 9254a3b commit 7b2af05
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,11 @@ on:
jobs:
release:
if: github.repository == 'saadeghi/daisyui'
name: "Release"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
registry-url: https://registry.npmjs.org

- name: Setup bun
uses: oven-sh/setup-bun@v1

Expand Down Expand Up @@ -76,6 +69,12 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
registry-url: https://registry.npmjs.org

- name: Publish package
run: npm publish
env:
Expand Down

0 comments on commit 7b2af05

Please sign in to comment.