Skip to content

Commit

Permalink
ci: fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvander committed Nov 10, 2024
1 parent b83d642 commit 6221eba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i && bun test && bun run build
- run: bun i
- run: bun test
- run: bun run build
release-please:
name: Release Please
runs-on: ubuntu-latest
Expand All @@ -31,12 +33,17 @@ jobs:
name: Create NPM Release
runs-on: ubuntu-latest
needs: [release-please, test-and-build]
# if: ${{ needs.release-please.outputs.release_created }}
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i && bun run build && bunx npm publish
- uses: actions/setup-node@v4
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: bun i && bun run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 6221eba

Please sign in to comment.