js
js copied to clipboard
Updated Actions to only occur on certain branches
New processes:
Every PR:
- Run Biome
- Build
On PRs to master:
- Run Biome
- Build
- Check version bump
Every Push:
- Run Biome
Every Release:
- Run Biome
- Build
- Publish to NPM
- Publish to JSR
Notes from @thebentern
Workflow_dispatch adds a button to "Run Workflow" and allows you to select a branch from Actions to run the workflow on.
Then use if: ${{ github.event_name == 'workflow_dispatch' }} to gate jobs