Skip to content

Commit

Permalink
feat(ci): add publish-commit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Jan 27, 2025
1 parent f98aded commit ce68420
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,29 @@ jobs:

- name: Unit Test
run: bun test

publish-commit:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2

- name: Use cached node_modules
uses: actions/cache@v4
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
restore-keys: |
node-modules-
- name: Install Dependencies
run: bun install

- name: Build
run: bun run build

- name: Publish Commit
run: bunx pkg-pr-new publish

0 comments on commit ce68420

Please sign in to comment.