Skip to content

Update README.md

Update README.md #827

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- '[12][0-9].[12]'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Clone devextreme repo from PR author fork
continue-on-error: true
if: github.event_name == 'pull_request'
run: git clone -b ${{github.event.pull_request.head.ref}} https://github.com/${{github.event.pull_request.user.login}}/devextreme ../devextreme
- name: Clone devextreme repo
run: test -d ../devextreme || git clone -b 23_2 https://github.com/devexpress/devextreme ../devextreme
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- name: Restore devextreme npm cache
uses: actions/cache@v3
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-modules
- name: Install packages in devextreme repo
working-directory: ../devextreme
run: npm i --no-audit --no-fund
- name: Build devextreme repo
working-directory: ../devextreme/packages/devextreme
run: npm run build-npm-devextreme
- name: Discover declarations
working-directory: ../devextreme/packages/devextreme
run: npm run discover-declarations
- name: Install devextreme package
continue-on-error: true
run: npm i --save-dev ../devextreme/packages/devextreme/artifacts/npm/devextreme --workspace=devextreme-angular --workspace=devextreme-angular-sandbox
- name: Run npm install
run: npm i --no-audit --no-fund
- name: Update metadata
run: npm run update-integration-meta
- name: Run devextreme-angular-generator tests
run: npm run test --workspace=devextreme-angular-generator
- name: Run lint
run: npm run lint
- name: Build with Angular 12
run: npm run build
- name: Run tests with Angular 12
run: npm run test:dev --workspace=devextreme-angular
- name: Archive internal-tools artifacts
uses: actions/upload-artifact@v3
with:
name: internal-tools-artifacts
path: artifacts/internal-tools/
retention-days: 7