feat: add data-test attribute #978
Workflow file for this run
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: [18] | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup node env π | |
uses: actions/[email protected] | |
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 test | |
- name: Run coverage π | |
run: pnpm coverage |