Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,25 @@ on:
- 'v*'

jobs:
npm:
name: npm
release:
name: release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Bun
- name: Setup Bun
uses: oven-sh/setup-bun@v2
# env:
# BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
with:
bun-version: latest

- name: Setup pantry
uses: stacksjs/pantry@v0.7
with:
setup-only: 'true'

- name: Use cached node_modules
uses: actions/cache@v4
with:
Expand All @@ -34,7 +37,7 @@ jobs:
run: bun install

- name: Publish to npm
run: ./scripts/publish.sh
run: pantry publish --access public
env:
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -44,7 +47,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Attach Binaries
uses: stacksjs/action-releaser@v1.1.0
uses: stacksjs/action-releaser@v1.2.7
with:
files: |
packages/headwind/bin/headwind-linux-x64.zip
Expand Down
Loading