Skip to content

chore: update follow-redirects to 1.15.6 (#878) #1685

chore: update follow-redirects to 1.15.6 (#878)

chore: update follow-redirects to 1.15.6 (#878) #1685

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- '[12][0-9].[12]'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Get sources
uses: actions/checkout@v2
- 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 22_2 https://github.com/devexpress/devextreme ../devextreme
- name: Use Node.js 15
uses: actions/setup-node@v3
with:
node-version: '15'
- name: Install packages in devextreme repo
run: |
cd ../devextreme
npm install --no-audit --no-fund
- name: Build devextreme repo
run: |
cd ../devextreme
npm run build-dist
- name: Install devextreme package
run: |
npx lerna@3.x.x add devextreme@file:../devextreme/artifacts/npm/devextreme/ --dev --no-bootstrap --scope=devextreme-react --exact --peer
npx lerna@3.x.x add devextreme@file:../devextreme/artifacts/npm/devextreme/ --no-bootstrap --scope=devextreme-react-sandbox --exact
- name: Run npm install
run: npm install --no-audit --no-fund
- name: Run devextreme-react-generator tests
run: npx lerna run --scope devextreme-react-generator test
- name: Run bootstrap
run: npm run bootstrap
- name: Run lint
run: npm run lint
- name: Pack with React
run: npm run pack
- name: Run tests with React
run: npm run test
- name: Archive internal-tools artifacts
uses: actions/upload-artifact@v3
with:
name: internal-tools-artifacts
path: artifacts/internal-tools/
retention-days: 7