new component : Rating card #1336
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: Puik CI | |
on: pull_request | |
jobs: | |
puik-ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.1.2 | |
- name: Setup node env π | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Cache ~/.pnpm-store π¦ | |
uses: actions/cache@v4 | |
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: Build Library | |
run: pnpm build | |
- name: Run linter π | |
run: pnpm lint | |
- name: Run tests π§ͺ | |
run: pnpm coverage |