An example project for setting up a GitHub action.
- Automated versioning and release notes with Changesets
- Bundling with @vercel/ncc
- Compiling and committing by tag. Avoiding adding built assets to the commit history and allowing flexible version selection.
name: "example-workflow"
on:
push:
jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Example action
# By major version
uses: jahredhope/github-action-demo@v1
# By minor version
uses: jahredhope/github-action-demo@v1.0
# By patch version
uses: jahredhope/github-action-demo@v1.0.3
# By commit
uses: jahredhope/github-action-demo@va84c1b7edd8162daf28f75ce56fd533465daa741