feat(script): remove cdn option #7771
This file contains hidden or 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: PR tests | |
| on: | |
| pull_request: | |
| # This allows a subsequently queued workflow run to interrupt previous runs | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| deployments: read | |
| pull-requests: write # needed to write comment | |
| statuses: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: pull_request_unsafe | |
| name: Build and test | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 | |
| - name: Use Node.js | |
| uses: ./.github/actions/setup-node | |
| - name: Install | |
| run: yarn install --frozen-lockfile | |
| - name: Test | |
| run: yarn test --coverage --coverageReporters json-summary | |
| - name: Jest Coverage Comment | |
| uses: MishaKav/jest-coverage-comment@aa3935cf9ee61efc40d9e47dcc8a523a49a70b96 #1.0.28 | |
| with: | |
| multiple-files: | | |
| assets-api, ./packages/assets-api/coverage/coverage-summary.json | |
| cmf, ./packages/cmf/coverage/coverage-summary.json | |
| cmf-cqrs, ./packages/cmf-cqrs/coverage/coverage-summary.json | |
| cmf-router, ./packages/cmf-router/coverage/coverage-summary.json | |
| components, ./packages/components/coverage/coverage-summary.json | |
| containers, ./packages/containers/coverage/coverage-summary.json | |
| dataviz, ./packages/dataviz/coverage/coverage-summary.json | |
| design-system, ./packages/design-system/coverage/coverage-summary.json | |
| faceted-search, ./packages/faceted-search/coverage/coverage-summary.json | |
| flow-designer, ./packages/flow-designer/coverage/coverage-summary.json | |
| forms, ./packages/forms/coverage/coverage-summary.json | |
| http, ./packages/http/coverage/coverage-summary.json | |
| sagas, ./packages/sagas/coverage/coverage-summary.json | |
| stepper, ./packages/stepper/coverage/coverage-summary.json | |
| utils, ./packages/utils/coverage/coverage-summary.json | |
| - name: Check design-tokens | |
| run: | | |
| cd packages/design-tokens | |
| node ./scripts/compare.js src/light/_index.scss src/dark/_index.scss |