feat(ButtonPrimary): sentiment variants #23
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: CI/CD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build-lint-test: | |
name: Build, lint, test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/bootstrap | |
- run: pnpm run build | |
- run: pnpm run lint | |
- run: pnpm run --if-present test | |
# release-latest: | |
# name: Release latest version | |
# needs: [build-lint-test] | |
# if: ${{ github.ref == 'refs/heads/main' }} | |
# runs-on: ubuntu-latest | |
# permissions: | |
# contents: write | |
# id-token: write | |
# pull-requests: write | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: ./.github/actions/bootstrap | |
# with: | |
# npm-token: ${{ secrets.NPM_TOKEN }} | |
# - run: pnpm run build | |
# - name: Create release PR or publish to npm | |
# uses: changesets/action@v1 | |
# with: | |
# publish: pnpm exec changeset publish | |
# commit: "chore: release" | |
# title: "chore: release" | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |