v1.0.27 #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |