Skip to content

base components for tab group and tab #125

base components for tab group and tab

base components for tab group and tab #125

name: CPS Shared UI Checker
on:
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js v16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Build app
run: npm run build
- name: Lint app
run: npm run lint
- name: Run Cypress component tests
run: npx cypress run --component