name: UI on: push: branches: - "develop" - "1.0-develop" pull_request: branches: - "develop" - "1.0-develop" jobs: lint: name: Lint runs-on: ubuntu-20.04 steps: - name: Code checkout uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 with: node-version: 18 cache: yarn - name: Install dependencies run: yarn install --frozen-lockfile - name: Lint run: yarn run lint tests: name: Tests runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: node: [16, 18] steps: - name: Code checkout uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} cache: yarn - name: Install dependencies run: yarn install --frozen-lockfile - name: Build run: yarn run build - name: Tests run: yarn run test