Skip to content

Update common/changes/pcln-carousel/SITE-23502_2024-09-09-14-02.json #3871

Update common/changes/pcln-carousel/SITE-23502_2024-09-09-14-02.json

Update common/changes/pcln-carousel/SITE-23502_2024-09-09-14-02.json #3871

name: Rush Design System CI
on:
push:
workflow_dispatch:
env:
BROWSERSLIST_IGNORE_OLD_DATA: 1
jobs:
design-system-ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: PNPM cache via actions/cache@v3
id: pnpm-cache
uses: actions/cache@v3
with:
path: /home/runner/work/design-system/design-system/common/temp/pnpm-store/v3
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- name: Install dependencies
run: node common/scripts/install-run-rush.js install
- name: rush change --verify
run: node common/scripts/install-run-rush.js change --verify
- name: Build components
run: node common/scripts/install-run-rush.js build --timeline
- name: Run Unit Tests
run: node common/scripts/install-run-rush.js test:ci
- name: ESLint
run: node common/scripts/install-run-rush.js lint
- name: Generate and upload coverage report
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
npx codecov