From e0ba2e3e913cb82d90b82153ba0028cb052f26e3 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Tue, 31 Mar 2020 19:21:41 +0800 Subject: [PATCH] . --- .github/workflows/checkin.yml | 41 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/.github/workflows/checkin.yml b/.github/workflows/checkin.yml index e678e72..4b342a0 100644 --- a/.github/workflows/checkin.yml +++ b/.github/workflows/checkin.yml @@ -1,28 +1,27 @@ name: checkin -on: -- push -- pull_request +on: + - push + - pull_request jobs: checkin: - runs-on: ubuntu-latest - + steps: - - uses: actions/checkout@v1 - - name: install - run: yarn install - - name: build - run: yarn build - - name: test - run: yarn test - - name: release - run: yarn release - - name: "check for uncommitted changes" - # Ensure no changes - run: | - git add . && git diff --exit-code --stat \ - || (echo "##[error] found changed files after build. please 'yarn build && npm run format'" \ - "and check in all changes" \ - && exit 1) + - uses: actions/checkout@v1 + - name: install + run: yarn install + - name: build + run: yarn build + - name: test + run: yarn test + - name: release + run: yarn release + - name: "check for uncommitted changes" + # Ensure no changes + run: | + git add . && git diff --exit-code --stat \ + || (echo "##[error] found changed files after build. please 'yarn build && npm run format'" \ + "and check in all changes" \ + && exit 1)