Skip to content

Commit

Permalink
Merge pull request #2 from ubiquity-os/development
Browse files Browse the repository at this point in the history
chore: remove build workflow and update release workflow
  • Loading branch information
gentlementlegen authored Nov 7, 2024
2 parents a63f464 + 6aaf562 commit b21eb10
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/build.yml

This file was deleted.

23 changes: 22 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,32 @@ permissions:
contents: write
pull-requests: write

env:
HUSKY: 0

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: simple
release-type: node
target-branch: main
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
registry-url: https://registry.npmjs.org/

- uses: oven-sh/setup-bun@v2

- name: Build
run: |
bun install --frozen-lockfile
bun build
if: ${{ steps.release.outputs.release_created }}
- run: bun publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit b21eb10

Please sign in to comment.