name: Build on: push: branches: - 'develop' - 'v2' pull_request: jobs: ui: name: UI runs-on: ubuntu-20.04 if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')" strategy: matrix: node-version: [16] steps: - name: Code Checkout uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'yarn' - name: Install dependencies run: yarn install --frozen-lockfile - name: Build run: yarn build:production