name: CI

on:
  push:
    branches:
      - develop

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: comchangs/action-yarn@v0.1-beta
    - name: Install dependencies
      run: yarn install
    - name: Build Core
      run: yarn build:core

name: CI

on:
  push:
    branches:
      - develop

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: Install Dependencies
        uses: Borales/actions-yarn@v2.0.0
        with:
          cmd: install # will run `yarn install` command
      - name: Build Core
        uses: Borales/actions-yarn@v2.0.0
        with:
          cmd: build:core # will run `yarn build:core` command
      - name: Commit changed files
        uses: stefanzweifel/git-auto-commit-action@v2.2.0
        with:
          commit_message: Update engine core
          branch: ${{ github.head_ref }}
          file_pattern: dist/engine/core/*
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Update yarn action and add autocommit
Update yarn action and add autocommit