Skip to content

refactor(checkbox): update component and some corrections to other c… #1187

refactor(checkbox): update component and some corrections to other c…

refactor(checkbox): update component and some corrections to other c… #1187

Workflow file for this run

name: CI
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-test:
runs-on: ${{ matrix.os }}
permissions:
# Required to checkout the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: pnpm
- name: Nx Cache
uses: actions/cache@v3
with:
path: ./.nx
key: ${{ runner.os }}-nx-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-nx-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: ESLint Cache
uses: actions/cache@v3
with:
path: ./.eslintcache
key: ${{ runner.os }}-eslintcache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-eslintcache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Vitest Cache
uses: actions/cache@v3
with:
path: ./.vitest-cache
key: ${{ runner.os }}-vitestcache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-vitestcache-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile
- name: 👀 Lint
run: pnpm lint
- name: 👀 Typecheck
run: pnpm typecheck
- name: 🚀 Build
run: pnpm build
- name: 🧪 Test with coverage
run: pnpm coverage
- name: 📝 Upload coverage
if: always()
uses: davelosert/vitest-coverage-report-action@v2