Skip to content

feat: add primary and secondary button #7

feat: add primary and secondary button

feat: add primary and secondary button #7

Workflow file for this run

name: Linting and Unit Tests
permissions:
contents: write
packages: write
on:
push:
branches: [main, staging]
pull_request:
branches: [main, staging]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js from .nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- name: lint
run: npm run lint
- name: prettier
run: npm run prettier:ci
release:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: |
npm ci
npx semantic-release --ci
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}