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
| name: Publish Visual Effects | |
| on: | |
| release: | |
| types: [ published ] | |
| permissions: | |
| id-token: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 👀 Checkout latest source | |
| uses: actions/checkout@v4 | |
| - name: ⚙️ Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: 📦️ Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: 🔨 Build | |
| run: | | |
| bun run --cwd packages/common build | |
| bun run --cwd packages/fireworks build | |
| bun run --cwd packages/snow build | |
| - name: 🚀 Publish | |
| run: | | |
| bun publish --cwd packages/common --access public | |
| bun publish --cwd packages/fireworks --access public | |
| bun publish --cwd packages/snow --access public | |
| env: | |
| NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} |