add motion base tokens to storybook #4426
Workflow file for this run
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: Test & Lint | |
on: | |
push: | |
branches: | |
- main | |
- next-major | |
pull_request: | |
jobs: | |
build: | |
if: ${{ github.repository == 'primer/primitives' }} | |
name: Test & Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci --no-audit --no-fund --ignore-scripts | |
- name: Build tokens | |
run: npm run build:tokens | |
- name: Build fallbacks | |
run: npm run build:fallbacks | |
- name: Code linting check | |
run: npm run lint | |
- name: Code formatting check | |
run: npm run format | |
- name: Run unit tests | |
run: npm test |