Skip to content

feat: Replace material icon with icon and use central story (#113) #60

feat: Replace material icon with icon and use central story (#113)

feat: Replace material icon with icon and use central story (#113) #60

---
name: Changelog and Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.PACKAGE_TOKEN }}
release-type: node
package-name: release-please-action
include-v-in-tag: false
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
pull-request-title-pattern: "chore: release ${version}"
publish:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
registry-url: https://npm.pkg.github.com
cache: npm
- name: Install Node dependencies
run: npm ci
- name: Build Files
run: npm run build
- name: Setup environment for publishing
uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
registry-url: https://npm.pkg.github.com
scope: "@jkimmeyer"
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}