fixing exports #3866
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: 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 |