Skip to content

Commit

Permalink
feat(ci): add pkg-pr-new-publish job
Browse files Browse the repository at this point in the history
This commit adds a new job to the GitHub Actions workflow. The job is
named 'pkg-pr-new-publish' and it runs on ubuntu-latest. It uses the
actions/checkout@v4 and oven-sh/setup-bun@v2 actions, installs
dependencies with 'bun i --frozen-lockfile', builds the project with
'bun run build', and finally publishes the package with 'bunx
pkg-pr-new publish'.
  • Loading branch information
ryoppippi committed Aug 7, 2024
1 parent 4c6d335 commit d820d31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ jobs:
- run: bun run lint
- run: bun run typecheck
- run: bun run test

pkg-pr-new-publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i --frozen-lockfile
- run: bun run build
- run: bunx pkg-pr-new publish

0 comments on commit d820d31

Please sign in to comment.