Skip to content

Commit

Permalink
chore: build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Sep 21, 2023
1 parent fa3e659 commit ace5ea7
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,6 @@ jobs:
with:
fetch-depth: 0

- name: Set git email
run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"

- name: Set git name
run: git config --global user.name "github-actions[bot]"

- name: Install bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install packages
run: bun i

- name: Build library and CLI
run: bun run build

- name: Get previous tag
id: previous_tag
run: |
Expand All @@ -86,6 +69,22 @@ jobs:
contents: write

steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install packages
run: bun i

- name: Build library and CLI
run: bun run build

- name: Generate CHANGELOG for Github release
id: changelog
uses: requarks/changelog-action@v1
Expand Down

0 comments on commit ace5ea7

Please sign in to comment.