Skip to content

Release Tracking

Release Tracking #1957

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
if: ${{ github.repository == 'primer/primitives' }}
name: Build verification
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm ci --no-audit --no-fund --ignore-scripts
- name: Build v1 tokens
run: npm run build
- name: Build v8 tokens
run: npm run build:next
- name: Code linting check
run: npm run lint
- name: Code formatting check
run: npm run format:check
- name: Run unit tests
run: npm test