diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18e37f61d..424b0a2bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ +name: Continuous Integration + on: - push - pull_request @@ -8,10 +10,12 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v2 + - name: Setup node uses: actions/setup-node@v2 with: node-version: 12 + - name: Run tests run: yarn && yarn build:rollup && yarn test env: @@ -21,10 +25,12 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v2 + - name: Setup node uses: actions/setup-node@v2 with: node-version: 12 + - name: Run linters run: yarn && yarn build:rollup && yarn lint env: diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index ed2e5acb6..46faa0f35 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -14,7 +14,10 @@ jobs: runs-on: ubuntu-latest if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase') steps: - - uses: actions/checkout@v2 + - name: Checkout repo + uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: cirrus-actions/rebase@1.3.1 + + - name: Rebase PR + uses: cirrus-actions/rebase@1.3.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4764ed99b..e3e25db5c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@master + uses: actions/checkout@v2 with: - # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Setup node - uses: actions/setup-node@master + uses: actions/setup-node@v2 with: node-version: 12.x registry-url: https://registry.npmjs.org @@ -41,13 +40,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@master + uses: actions/checkout@v2 with: - # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - name: Setup node - uses: actions/setup-node@master + uses: actions/setup-node@v2 with: node-version: 12.x registry-url: https://registry.npmjs.org