Skip to content

docs: [storybook-and-readme] related #336 wip #1238

docs: [storybook-and-readme] related #336 wip

docs: [storybook-and-readme] related #336 wip #1238

Workflow file for this run

name: Puik CI
on: pull_request
jobs:
puik-ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9.1.2
- name: Setup node env πŸ—
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node }}
- name: Cache ~/.pnpm-store πŸ“¦
uses: actions/cache@v3
env:
cache-name: cache-pnpm-store
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ matrix.node }}-ci-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-ci-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.node }}-ci-
${{ runner.os }}-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: pnpm i --frozen-lockfile
- name: Run linter πŸ‘€
run: pnpm lint
- name: Run tests πŸ§ͺ
run: pnpm coverage