Skip to content

chore: Discuss token structure #2874

chore: Discuss token structure

chore: Discuss token structure #2874

Workflow file for this run

name: Lint and test
on:
push:
branches: [main]
pull_request:
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Check out branch
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js version
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
build-lint-test:
runs-on: ubuntu-latest
needs: install
steps:
- name: Check out branch
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js version
uses: actions/setup-node@v4
with:
cache: pnpm
node-version-file: .nvmrc
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: "Continuous Integration: build"
run: |
pnpm run --if-present build
- name: "Continuous Integration: lint"
run: |
pnpm run --if-present lint
- name: "Continuous Integration: test"
run: |
pnpm run --if-present test
- name: "Retain build artifact: Storybook"
uses: actions/upload-artifact@v4
with:
name: storybook
path: storybook/dist/
retention-days: 1