Skip to content

fix: adjust dark decorative medium (#47) #73

fix: adjust dark decorative medium (#47)

fix: adjust dark decorative medium (#47) #73

name: Publish package to GitHub Packages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: phips28/gh-action-bump-version@master
name: Bump and Tag Version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
bump-policy: 'last-commit'
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: |
curl -X POST -u "${{ secrets.DISPATCH_USER }}:${{ secrets.DISPATCH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${{ secrets.DISPATCH_REPO }}/dispatches -d '{"event_type":"design_changes"}'