Skip to content

v1.0.24

v1.0.24 #33

Workflow file for this run

on:
release:
types: [published]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
# Clean up node_modules and package-lock.json
- run: rm -rf node_modules package-lock.json
# Install dependencies with --no-optional to skip problematic optional dependencies
- run: bun install --no-optional
- run: bun run build
# - run: bun publish --access public
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'release.zip'
path: 'dist'
- name: Upload Release
uses: ncipollo/[email protected]
with:
artifacts: "release.zip"
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
replacesArtifacts: true