Skip to content

feat: Add the @digir/create-tokens CLI tool #2

feat: Add the @digir/create-tokens CLI tool

feat: Add the @digir/create-tokens CLI tool #2

name: Checks Packages
on:
workflow_dispatch:
pull_request:
paths:
- 'packages/**'
- '*.*js'
push:
paths:
- 'packages/**'
jobs:
checks:
name: Builds, lints and tests code
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use node 20 and yarn cache
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build
- name: Types
run: yarn types:react
- name: Lint Code
run: yarn lint:all
- name: Lint CSS
run: yarn lint-style
- name: Test
run: yarn test