diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 600f10f3..c9f1a454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,16 +13,19 @@ jobs: ##################################################################### setup: runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x] steps: - run: echo "Triggered by ${{ github.event_name }} event." - name: Check out repository code ${{ github.repository }} on ${{ github.ref }} uses: actions/checkout@v3 - - name: Set up Node.js ${{ env.NODE_VERSION }} + - name: Set up Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: ${{ env.NODE_VERSION }} + node-version: ${{ matrix.node-version }} cache: 'npm' - name: Cache node modules @@ -50,10 +53,19 @@ jobs: build: needs: setup runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x, 20.x] steps: - name: Check out repository code ${{ github.repository }} on ${{ github.ref }} uses: actions/checkout@v3 + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - name: Restore node modules from cache uses: actions/cache@v3 with: diff --git a/projects/angular-formio/src/components/formioreport/formioreport.component.ts b/projects/angular-formio/src/components/formioreport/formioreport.component.ts index 46a2153e..99664460 100644 --- a/projects/angular-formio/src/components/formioreport/formioreport.component.ts +++ b/projects/angular-formio/src/components/formioreport/formioreport.component.ts @@ -17,8 +17,6 @@ export class FormioReportComponent extends FormioComponent implements OnInit, On @Output() fetchDataError = new EventEmitter<any>(); @ViewChild('report', { static: true }) declare formioElement?: ElementRef<any>; - // public isLoading: boolean; // Was not allowing yarn build - setFormFromSrc() { this.service.loadSubmission({ params: { live: 1 } }).subscribe( (report: FormioReport) => {