Merge branch '26.1.3+' of https://github.com/DevExpress-Examples/deve… #174
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: TS compilation | |
| concurrency: | |
| group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - "[0-9][0-9].[0-9].[0-9]*" | |
| jobs: | |
| Angular: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Restore npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./Angular/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: ${{ runner.os }}-node-modules | |
| - name: Run npm install | |
| working-directory: Angular | |
| run: npm install --no-fund | |
| - name: Security audit | |
| working-directory: Angular | |
| run: npm audit --audit-level=high | |
| - name: TSC Angular | |
| working-directory: Angular | |
| run: npm run build | |
| React: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Restore npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./React/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: ${{ runner.os }}-node-modules | |
| - name: Run npm install | |
| working-directory: React | |
| run: npm install --no-fund | |
| - name: Security audit | |
| working-directory: React | |
| run: npm audit --audit-level=high | |
| - name: TSC React | |
| working-directory: React | |
| run: npm run build | |
| Vue: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Get sources | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Restore npm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ./Vue/node_modules | |
| key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: ${{ runner.os }}-node-modules | |
| - name: Run npm install | |
| working-directory: Vue | |
| run: npm install --no-fund | |
| - name: Security audit | |
| working-directory: Vue | |
| run: npm audit --audit-level=high | |
| - name: Generate license file | |
| working-directory: Vue | |
| run: npm run prebuild | |
| - name: TSC Vue | |
| working-directory: Vue | |
| run: npm run type-check |