diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index d470cda..6121d8e 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -1,6 +1,27 @@ -on: [push] +name: Publish package +on: + push: + workflow_dispatch: + jobs: - test: + dependencies: runs-on: docker steps: - - run: echo All Good + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Cache Bun dependencies + uses: actions/cache@v4 + with: + path: ~/.bun/install/cache + key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }} + restore-keys: | + ${{ runner.os }}-bun- + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + + - name: Install Dependencies + run: bun install