also looking at this
chore(deps): update all non-major dependencies
#418
11 files
+442
-40
| @@ -35,29 +35,37 @@ jobs: | ||
| 35 | 35 | - name: Install Dependencies |
| 36 | 36 | run: bun install |
| 37 | 37 | |
| 38 | - name: Build All Packages | |
| 39 | run: bun run build | |
| 40 | ||
| 41 | - name: Compile CLI Binaries | |
| 42 | run: cd packages/ts-tokens && bun run compile:all | |
| 43 | ||
| 44 | - name: Zip Binaries | |
| 45 | run: | | |
| 46 | cd packages/ts-tokens/bin | |
| 47 | for f in tokens-linux-x64 tokens-linux-arm64 tokens-darwin-x64 tokens-darwin-arm64; do | |
| 48 | [ -f "$f" ] && zip "${f}.zip" "$f" | |
| 49 | done | |
| 50 | [ -f "tokens-windows-x64.exe" ] && zip "tokens-windows-x64.zip" "tokens-windows-x64.exe" | |
| 51 | ||
| 38 | 52 | - name: Publish to npm |
| 39 | run: ./scripts/publish.sh | |
| 53 | run: | | |
| 54 | cd packages/ts-tokens && bun publish --access public --provenance | |
| 55 | cd ../react && bun publish --access public --provenance | |
| 56 | cd ../vue && bun publish --access public --provenance | |
| 40 | 57 | env: |
| 41 | 58 | BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 42 | 59 | |
| 43 | 60 | - name: Create GitHub Release |
| 44 | 61 | id: create_release |
| 45 | uses: stacksjs/action-releaser@v1.1.0 | |
| 62 | uses: stacksjs/action-releaser@v1.2.9 | |
| 46 | 63 | with: |
| 47 | 64 | files: | |
| 48 | ./packages/tlsx/bin/tlsx-linux-x64.zip | |
| 49 | ./packages/tlsx/bin/tlsx-linux-arm64.zip | |
| 50 | ./packages/tlsx/bin/tlsx-windows-x64.zip | |
| 51 | ./packages/tlsx/bin/tlsx-darwin-x64.zip | |
| 52 | ./packages/tlsx/bin/tlsx-darwin-arm64.zip | |
| 53 | # --- Homebrew tap update support --- | |
| 54 | # Path to your Homebrew formula template (update this path as needed) | |
| 55 | # homebrewFormula: .github/homebrew-formula.rb | |
| 56 | # The owner/repo of your Homebrew tap (update this value as needed) | |
| 57 | # homebrewRepo: stacksjs/homebrew-tap | |
| 58 | # Optionally uncomment and set these if you need custom values: | |
| 59 | # homebrewBranch: main | |
| 60 | # homebrewPath: Formula | |
| 61 | # homebrewCommitFormat: "update: {{ formula }} to {{ version }}" | |
| 65 | ./packages/ts-tokens/bin/tokens-linux-x64.zip | |
| 66 | ./packages/ts-tokens/bin/tokens-linux-arm64.zip | |
| 67 | ./packages/ts-tokens/bin/tokens-windows-x64.zip | |
| 68 | ./packages/ts-tokens/bin/tokens-darwin-x64.zip | |
| 69 | ./packages/ts-tokens/bin/tokens-darwin-arm64.zip | |
| 62 | 70 | env: |
| 63 | 71 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |