Skip to content

feat: add CategoryFilter background and text color tokens (#251) #188

feat: add CategoryFilter background and text color tokens (#251)

feat: add CategoryFilter background and text color tokens (#251) #188

name: Release
on:
push:
branches: [main, beta]
jobs:
test:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
id-token: write
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
- name: install dependencies
run: yarn
- name: test
run: yarn test
- name: build
env:
FIGMA_PERSONAL_ACCESS_TOKEN: ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN }}
run: yarn build
- name: Release to NPM
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
FIGMA_PERSONAL_ACCESS_TOKEN: ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN }}
run: yarn semantic-release
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: https://npm.pkg.github.com/
scope: '@palmetto'
- name: Release to GitHub Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
FIGMA_PERSONAL_ACCESS_TOKEN: ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN }}
run: yarn publish