Skip to content

Commit 482a9cf

Browse files
authored
Update yarn action and add autocommit
1 parent cd9c524 commit 482a9cf

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: comchangs/action-yarn@v0.1-beta
15-
- name: Install dependencies
16-
run: yarn install
17-
- name: Build Core
18-
run: yarn build:core
14+
- uses: actions/checkout@v1
15+
- name: Install Dependencies
16+
uses: Borales/actions-yarn@v2.0.0
17+
with:
18+
cmd: install # will run `yarn install` command
19+
- name: Build Core
20+
uses: Borales/actions-yarn@v2.0.0
21+
with:
22+
cmd: build:core # will run `yarn build:core` command
23+
- name: Commit changed files
24+
uses: stefanzweifel/git-auto-commit-action@v2.2.0
25+
with:
26+
commit_message: Update engine core
27+
branch: ${{ github.head_ref }}
28+
file_pattern: dist/engine/core/*
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)