Skip to content

Add ESM builds to devextreme-react #34188

Add ESM builds to devextreme-react

Add ESM builds to devextreme-react #34188

Workflow file for this run

name: Renovation
concurrency:
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
cancel-in-progress: true
on:
pull_request:
push:
branches: [23_2]
env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
jobs:
jest-tests:
runs-on: devextreme-shr2
timeout-minutes: 60
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.16.1'
- name: Restore npm cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules
- name: Run npm install
run: npm install --no-audit --no-fund
- name: Build localization
working-directory: ./packages/devextreme
run: npx gulp localization
- name: Jest test
run: npx nx test-jest devextreme-main
notify:
runs-on: devextreme-shr2
name: Send notifications
needs: [jest-tests]
if: always() && contains(needs.*.result, 'failure')
steps:
- uses: actions/checkout@v3
- uses: DevExpress/github-actions/send-teams-notification@main
with:
hook_url: ${{secrets.TEAMS_ALERT}}
bearer_token: ${{secrets.GITHUB_TOKEN}}
specific_repo: DevExpress/DevExtreme
specific_branch: 23_2