Skip to content

[NAE-2005] Field behavior change does not work correctly with multiple references using taskRef #1031

[NAE-2005] Field behavior change does not work correctly with multiple references using taskRef

[NAE-2005] Field behavior change does not work correctly with multiple references using taskRef #1031

Workflow file for this run

name: Build
on:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
matrix-test:
name: Matrix Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14, 16, 18 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Full Test on Node.js version ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- name: Build & test components-core
run: |
npm run ncc:build
npm run ncc:full-test
npm i ./dist/netgrif-components-core --save-optional
- name: Build & test components
run: |
npm run nc:build
npm run nc:full-test
npm i ./dist/netgrif-components --save-optional
- name: Build examples
run: npm run example:build
test:
name: Test with SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
name: Full Test
with:
node-version: 16
- run: npm i --legacy-peer-deps
- name: Build & test components-core
run: |
npm run ncc:build
npm run ncc:full-test
npm i ./dist/netgrif-components-core --save-optional --legacy-peer-deps
- name: Build & test components
run: |
npm run nc:build
npm run nc:full-test
npm i ./dist/netgrif-components --save-optional --legacy-peer-deps
- name: Edit Path
run: |
sed -i 's/SF:.*.projects/SF:projects/g' coverage/netgrif-components/lcov.info
sed -i 's/SF:.*.projects/SF:projects/g' coverage/netgrif-components-core/lcov.info
- name: SonarCloud scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Build examples
run: npm run example:build