feat: brand background, border and font colors (#47) #62
This file contains 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: Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
permissions: | |
actions: write | |
contents: write | |
id-token: write | |
packages: write | |
pages: write | |
env: | |
GH_PACKAGES_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
release: | |
name: Release Package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@hyphen' | |
- name: install dependencies | |
run: npm install | |
- name: test | |
run: npm test | |
- name: build | |
run: npm run build | |
- name: Release to Github Packages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
run: npm run semantic-release | |
deploy: | |
name: Deploy Doc Site | |
runs-on: ubuntu-latest | |
steps: | |
- id: build-publish | |
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.2 | |
with: | |
path: storybook-static | |
build_command: npm run build-storybook-docs |