Skip to content

Update internal-tools to v10.0.0-beta.17 #1036

Update internal-tools to v10.0.0-beta.17

Update internal-tools to v10.0.0-beta.17 #1036

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
- '[12][0-9].[12]'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Install npm packages
run: npm i
- name: Run lint
run: npm run lint
- name: Restore devextreme
run: npm run restore-devextreme
- name: Link devextreme
run: npm run link-devextreme
- name: Generate metadata
run: npm run generate-metadata
- name: Build packages
run: npm run build:packages
- name: Check generated code
shell: bash
run: |
git add . -N
changes=$(git diff --name-status HEAD -- packages/devextreme-vue/src packages/vue2-strategy/src)
if [ -n "$changes" ]; then
echo "Generated code is outdated. The following files have uncommitted changes:"
echo "$changes";
echo "To update generated code, generate metadata, build packages and commit changes."
exit 1
fi
- name: Run tests with Vue
run: npm run test
- name: Check packing
run: npm run pack
- name: Archive internal-tools artifacts
uses: actions/upload-artifact@v3
with:
name: internal-tools-artifacts
path: artifacts/internal-tools/
retention-days: 7